![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <TaskPool.h>
Public Attributes | |
U32 | _iterCount = 0u |
For loop iteration count. | |
U32 | _partitionSize = 0u |
How many elements should we process per async task. | |
TaskPriority | _priority = TaskPriority::DONT_CARE |
Each async task will start with the same priority specified here. | |
bool | _waitForFinish = true |
If this is false, the Parallel_For call won't block the current thread. | |
bool | _useCurrentThread = true |
If true, we'll process a for partition on the calling thread. | |
bool | _allowPoolIdle = true |
If true, we'll inform the thread pool to execute other tasks while waiting for the all async tasks to finish. | |
bool | _allowRunInIdle = true |
If true, async tasks can be invoked from other task's idle callbacks. | |
Definition at line 40 of file TaskPool.h.
bool Divide::ParallelForDescriptor::_allowPoolIdle = true |
If true, we'll inform the thread pool to execute other tasks while waiting for the all async tasks to finish.
Definition at line 53 of file TaskPool.h.
bool Divide::ParallelForDescriptor::_allowRunInIdle = true |
If true, async tasks can be invoked from other task's idle callbacks.
Definition at line 55 of file TaskPool.h.
U32 Divide::ParallelForDescriptor::_iterCount = 0u |
For loop iteration count.
Definition at line 43 of file TaskPool.h.
U32 Divide::ParallelForDescriptor::_partitionSize = 0u |
How many elements should we process per async task.
Definition at line 45 of file TaskPool.h.
TaskPriority Divide::ParallelForDescriptor::_priority = TaskPriority::DONT_CARE |
Each async task will start with the same priority specified here.
Definition at line 47 of file TaskPool.h.
bool Divide::ParallelForDescriptor::_useCurrentThread = true |
If true, we'll process a for partition on the calling thread.
Definition at line 51 of file TaskPool.h.
bool Divide::ParallelForDescriptor::_waitForFinish = true |
If this is false, the Parallel_For call won't block the current thread.
Definition at line 49 of file TaskPool.h.