The following tables list the members exposed by WorkQueue<T>.
Name | Description | |
---|---|---|
WorkQueue<T> Constructor | Constructs the Work Queue with the specified number of threads. |
Name | Description | |
---|---|---|
Complete | Waits for all executing tasks to complete and then exists all threads, If completePending is false no more tasks will begin, if true threads will continue to pick up tasks and run until the queue is empty. The timeout period is used to join each thread in turn, if the timeout expires that thread will be aborted. | |
Enqueue | Enqueues a task |
Reference
WorkQueue<T> ClassCSharpTest.Net.Threading Namespace