Click or drag to resize

ManagedThreadPool Class

Defines a managed thread pool
Inheritance Hierarchy
System.Object
  GSF.Threading.ManagedThreadPool

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+cf93f5f8aea4b941e9b426fe4e180c2bd85d31a2
Syntax
public static class ManagedThreadPool
View Source

The ManagedThreadPool type exposes the following members.

Methods
 NameDescription
Public methodStatic memberQueueUserWorkItem(ParameterizedThreadStart) Queues a work item for processing on the managed thread pool
Public methodStatic memberQueueUserWorkItem(ThreadStart) Queues a work item for processing on the managed thread pool
Public methodStatic memberQueueUserWorkItem(ContextCallback, ExecutionContext) Queues a work item for processing on the managed thread pool
Public methodStatic memberQueueUserWorkItem(ParameterizedThreadStart, Object) Queues a work item for processing on the managed thread pool
Public methodStatic memberQueueUserWorkItem(ContextCallback, Object, ExecutionContext) Queues a work item for processing on the managed thread pool
Top
Remarks
This class works like the normal thread pool but provides the benefit of automatic tracking of queued threads through the ManagedThreads collection, returns a reference to the queued thread with the ability to dequeue and/or abort, total thread runtime and the ability to run the queued thread in an alternate execution context
See Also