文件名称:threadpool
介绍说明--下载内容均来自于网络,请自行研究使用
线程池是一种多线程处理形式,处理过程中将任务添加到队列,然后在创建线程后自动启动这些任务。线程池线程都是后台线程。每个线程都使用默认的堆栈大小,以默认的优先级运行,并处于多线程单元中。如果某个线程在托管代码中空闲(如正在等待某个事件),则线程池将插入另一个辅助线程来使所有处理器保持繁忙。如果所有线程池线程都始终保持繁忙,但队列中包含挂起的工作,则线程池将在一段时间后创建另一个辅助线程但线程的数目永远不会超过最大值。超过最大值的线程可以排队,但他们要等到其他线程完成后才启动
-The thread pool is a multi-threaded processing form during processing task is added to the queue, and then create a thread to start these tasks automatically. The thread pool threads are background threads. Each thread uses the default stack size, the default priority of running, and in a multi-threaded apartment. If a thread is idle in managed code (such as is waiting for an event), the thread pool will insert another worker thread to all processors busy. If all thread pool threads are always kept busy, but the queue of pending work, the thread pool will create another worker thread after a period of time the number of threads will never exceed the maximum value. More than the maximum thread can be queued, but they have to wait until other threads to complete before starting
-The thread pool is a multi-threaded processing form during processing task is added to the queue, and then create a thread to start these tasks automatically. The thread pool threads are background threads. Each thread uses the default stack size, the default priority of running, and in a multi-threaded apartment. If a thread is idle in managed code (such as is waiting for an event), the thread pool will insert another worker thread to all processors busy. If all thread pool threads are always kept busy, but the queue of pending work, the thread pool will create another worker thread after a period of time the number of threads will never exceed the maximum value. More than the maximum thread can be queued, but they have to wait until other threads to complete before starting
(系统自动生成,下载前可以参看下载内容)
下载文件列表
cmem.pas
consts.pas
consts.rst
defines.inc
Exentia64.pas
LockFreePrimitives.pas
msvcr71.dll
README
RingBuffer.pas
tbbmalloc.dll
test.pas
test_pool.pas
test_thread.pas
test_thread1.pas
threadpool.pas
expbackoff.pas
lockfree_mpmc.pas