.NET Framework Class Library
ThreadPool Methods

The ThreadPool type exposes the following members.

Methods

  NameDescription
Public methodStatic memberBindHandleOverloaded. Binds an operating system handle to the ThreadPool.
Public methodStatic memberGetAvailableThreadsRetrieves the difference between the maximum number of thread pool threads returned by the GetMaxThreads method, and the number currently active.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetMaxThreadsRetrieves 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.
Public methodStatic memberGetMinThreadsRetrieves the number of idle threads the thread pool maintains in anticipation of new requests.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkQueueUserWorkItemOverloaded. Queues a method for execution. The method executes when a thread pool thread becomes available.
Public methodStatic memberRegisterWaitForSingleObjectOverloaded. Registers a delegate that is waiting for a WaitHandle.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSetMaxThreadsSets 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.
Public methodStatic memberSetMinThreadsSets the number of idle threads the thread pool maintains in anticipation of new requests.
Public methodStatic memberUnsafeQueueNativeOverlappedQueues an overlapped I/O operation for execution.
Public methodStatic memberUnsafeQueueUserWorkItemQueues the specified delegate to the thread pool, but does not propagate the calling stack to the worker thread.
Public methodStatic memberUnsafeRegisterWaitForSingleObjectOverloaded. Registers a delegate to wait for a WaitHandle.
Top
See Also

Reference

Tags :


Page view tracker