Свойство | Тип | Описание | |
---|---|---|---|
MaxAdditionalWorkerThreads | int |
Свойство | Тип | Описание | |
---|---|---|---|
FillTasks | void | ||
TasksAdded | void |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
CheckAccessLimitation ( ) : void |
Метод | Описание | |
---|---|---|
FillTasks ( Dispatcher target ) : void | ||
TasksAdded ( ) : void |
public SpawnAdditionalWorkerThread ( ) : void | ||
Результат | void |
public TaskDistributor ( string name ) : System | ||
name | string | |
Результат | 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. |
Результат | 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. |
Результат | System |