Method | Description | |
---|---|---|
BeginShutdown ( ) : void |
Prevent any additional threads from starting. Returns immediately.
|
|
CommsThreadPool ( ) : System |
Create a new NetworkComms.Net thread pool
|
|
EndShutdown ( int threadShutdownTimeoutMS = 1000 ) : void |
Prevent any additional threads from starting and return once all existing workers have completed.
|
|
EnqueueItem ( QueueItemPriority priority, WaitCallback callback, object state ) : void |
Enqueue a callback to the thread pool.
|
|
ToString ( ) : string |
Provides a brief string summarisation the state of the thread pool
|
public EndShutdown ( int threadShutdownTimeoutMS = 1000 ) : void | ||
threadShutdownTimeoutMS | int | |
return | void |
public EnqueueItem ( QueueItemPriority priority, WaitCallback callback, object state ) : void | ||
priority | QueueItemPriority | The priority with which to enqueue the provided callback |
callback | WaitCallback | The callback to execute |
state | object | The state parameter to pass to the callback when executed |
return | void |