Click or drag to resize

ManagedThreadPool Class

Defines a managed thread pool
Inheritance Hierarchy
SystemObject
  GSF.ThreadingManagedThreadPool

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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