ThreadPool Methods
MSDN Home
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System.Threading Namespace
ThreadPool Class
ThreadPool Methods
BindHandle Method
GetAvailableThreads Method
GetMaxThreads Method
GetMinThreads Method
QueueUserWorkItem Method
RegisterWaitForSingleObject Me ...
SetMaxThreads Method
SetMinThreads Method
UnsafeQueueNativeOverlapped Me ...
UnsafeQueueUserWorkItem Method
UnsafeRegisterWaitForSingleObj ...
ThreadPool Class
ThreadPool Members
ThreadPool Methods
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
ThreadPool Methods
The
ThreadPool
type exposes the following members.
Methods
Name
Description
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
.
Top
See Also
Reference
ThreadPool Class
System.Threading Namespace
Tags :