Method | Description | |
---|---|---|
CreateTaskGroup ( ) : |
Create a new task group.
|
|
EngineConcurrency ( ) : System |
Construct a concurrency object.
|
|
ProcessTask ( IEngineTask task ) : void |
Process the specified task. It will be processed either now, or queued to process on the thread pool. No group is assigned.
|
|
ProcessTask ( IEngineTask task, |
Process the specified task. It will be processed either now, or queued to process on the thread pool.
|
|
SetMaxThreadsToCoreCount ( ) : void |
Set the max threads to the number of processors.
|
Method | Description | |
---|---|---|
TaskFinished ( |
public ProcessTask ( IEngineTask task ) : void | ||
task | IEngineTask | The task to process. |
return | void |
public ProcessTask ( IEngineTask task, |
||
task | IEngineTask | The task to process. |
group | The group this task belongs to. | |
return | void |