Method | Description | |
---|---|---|
Cancel ( bool abortExecution ) : void | ||
EnqueueToSTPNextNWorkItem ( int count ) : void | ||
GetStates ( ) : object[] | ||
OnSTPIsStarting ( ) : void | ||
Start ( ) : void |
Start the Work Items Group if it was started suspended
|
|
WaitForIdle ( int millisecondsTimeout ) : bool |
Wait for the thread pool to be idle
|
|
WorkItemsGroup ( SmartThreadPool stp, int concurrency, WIGStartInfo wigStartInfo ) : System |
Method | Description | |
---|---|---|
Enqueue ( WorkItem workItem ) : void | ||
EnqueueToSTPNextWorkItem ( WorkItem workItem ) : void | ||
EnqueueToSTPNextWorkItem ( WorkItem workItem, bool decrementWorkItemsInStpQueue ) : void | ||
FireOnIdle ( object state ) : object | ||
FireOnIdleImpl ( WorkItemsGroupIdleHandler onIdle ) : void | ||
OnWorkItemCompletedCallback ( WorkItem workItem ) : void | ||
OnWorkItemStartedCallback ( WorkItem workItem ) : void | ||
RegisterToWorkItemCompletion ( IWorkItemResult wir ) : void |
public EnqueueToSTPNextNWorkItem ( int count ) : void | ||
count | int | |
return | void |
public WaitForIdle ( int millisecondsTimeout ) : bool | ||
millisecondsTimeout | int | |
return | bool |
public WorkItemsGroup ( SmartThreadPool stp, int concurrency, WIGStartInfo wigStartInfo ) : System | ||
stp | SmartThreadPool | |
concurrency | int | |
wigStartInfo | WIGStartInfo | |
return | System |