This documentation is archived and is not being maintained.
Provides a pool of threads that can be used to post work items, process asynchronous I/O, wait on behalf of other threads, and process timers.
The ThreadPool type exposes the following members.
|BindHandle||Overloaded. Binds an operating system handle to the ThreadPool.|
|GetAvailableThreads||Retrieves the difference between the maximum number of thread pool threads returned by the GetMaxThreads method, and the number currently active.|
|GetMaxThreads||Retrieves the number of requests to the thread pool that can be active concurrently. All requests above that number remain queued until thread pool threads become available.|
|GetMinThreads||Retrieves the number of idle threads the thread pool maintains in anticipation of new requests.|
|QueueUserWorkItem||Overloaded. Queues a method for execution. The method executes when a thread pool thread becomes available.|
|RegisterWaitForSingleObject||Overloaded. Registers a delegate that is waiting for a WaitHandle.|
|SetMaxThreads||Sets the number of requests to the thread pool that can be active concurrently. All requests above that number remain queued until thread pool threads become available.|
|SetMinThreads||Sets the number of idle threads the thread pool maintains in anticipation of new requests.|
|UnsafeQueueNativeOverlapped||Queues an overlapped I/O operation for execution.|
|UnsafeQueueUserWorkItem||Queues the specified delegate to the thread pool, but does not propagate the calling stack to the worker thread.|
|UnsafeRegisterWaitForSingleObject||Overloaded. Registers a delegate to wait for a WaitHandle.|