Class ThreadPool
An object that manages worker threads and runs tasks on them
class ThreadPool
;
Constructors
Name | Description |
---|---|
this
(maxThreads)
|
Constructor |
Methods
Name | Description |
---|---|
submit
(taskDele)
|
Create a task from delegate |
submit
(taskFunc)
|
Create a task from function pointer |
tasksDone
()
|
Returns true if all tasks are finished |