HDK
|
#include <UT_TaskGroup.h>
Public Types | |
enum | KindType { ISOLATED = me::isolated, BOUND = me::bound } |
Public Member Functions | |
UT_TaskGroupContext (KindType relation_to_parent=BOUND) | |
~UT_TaskGroupContext ()=default | |
void | reset () |
bool | cancelGroupExecution () |
bool | isGroupExecutionCancelled () const |
Static Public Member Functions | |
static void | cancelCurrentGroupExecution () |
Cancel the entire current task group context when run within a task. More... | |
Definition at line 26 of file UT_TaskGroup.h.
Enumerator | |
---|---|
ISOLATED | |
BOUND |
Definition at line 32 of file UT_TaskGroup.h.
Constructs an empty task_group_context.
If relation_to_parent is bound, the task_group_context will become a child of the innermost running task's group when it is first spawned. If this call is made directly from the user thread, the effect will be as if relation_to_parent were isolated. If relation_to_parent is isolated, it has no parent task_group_context.
Definition at line 45 of file UT_TaskGroup.h.
|
default |
Destroys an empty task_group_context. The behavior is undefined if there are still extant tasks associated with this task_group_context.
|
inlinestatic |
Cancel the entire current task group context when run within a task.
Definition at line 81 of file UT_TaskGroup.h.
|
inline |
Requests that tasks in group be cancelled.
Definition at line 69 of file UT_TaskGroup.h.
|
inline |
Definition at line 75 of file UT_TaskGroup.h.
Reinitializes this to uncancelled state.
Definition at line 59 of file UT_TaskGroup.h.