Property | Type | Description | |
---|---|---|---|
MaxAdditionalWorkerThreads | int |
Property | Type | Description | |
---|---|---|---|
FillTasks | void | ||
TasksAdded | void |
Method | Description | |
---|---|---|
Dispose ( ) : void |
Disposes all TaskDistributor, worker threads, resources and remaining tasks.
|
|
SpawnAdditionalWorkerThread ( ) : void | ||
Start ( ) : void |
Starts the TaskDistributor if its not currently running.
|
|
TaskDistributor ( string name ) : System |
Creates a new instance of the TaskDistributor with ProcessorCount x2 worker threads. The task distributor will auto start his worker threads.
|
|
TaskDistributor ( string name, int workerThreadCount ) : System |
Creates a new instance of the TaskDistributor. The task distributor will auto start his worker threads.
|
|
TaskDistributor ( string name, int workerThreadCount, bool autoStart ) : System |
Creates a new instance of the TaskDistributor.
|
Method | Description | |
---|---|---|
CheckAccessLimitation ( ) : void |
Method | Description | |
---|---|---|
FillTasks ( Dispatcher target ) : void | ||
TasksAdded ( ) : void |
public SpawnAdditionalWorkerThread ( ) : void | ||
return | void |
public TaskDistributor ( string name ) : System | ||
name | string | |
return | System |
public TaskDistributor ( string name, int workerThreadCount ) : System | ||
name | string | |
workerThreadCount | int | The number of worker threads, a value below one will create ProcessorCount x2 worker threads. |
return | System |
public TaskDistributor ( string name, int workerThreadCount, bool autoStart ) : System | ||
name | string | |
workerThreadCount | int | The number of worker threads, a value below one will create ProcessorCount x2 worker threads. |
autoStart | bool | Should the instance auto start the worker threads. |
return | System |