Public Types | |
| typedef TaskFunctor< SerialTask > | TaskType |
Public Member Functions | |
| SerialTask (ITaskFunctor *f) | |
| void | launchAndWait () override |
| Launches the task and blocks until it finishes. | |
| void | launchAndWait (ConstArrayView< ITask * > tasks) override |
| Launches the child tasks tasks and blocks until they finish. | |
| ITask * | _createChildTask (ITaskFunctor *functor) override |
Static Public Attributes | |
| static const int | FUNCTOR_CLASS_SIZE = sizeof(TaskType) |
Definition at line 33 of file ConcurrencyUtils.cc.
| typedef TaskFunctor<SerialTask> Arcane::SerialTask::TaskType |
Definition at line 38 of file ConcurrencyUtils.cc.
|
inline |
Definition at line 46 of file ConcurrencyUtils.cc.
|
inlineoverridevirtual |
Implements Arcane::ITask.
Definition at line 74 of file ConcurrencyUtils.cc.
|
inlineoverridevirtual |
Launches the task and blocks until it finishes.
After calling this function, the task is destroyed and must not be used again.
Implements Arcane::ITask.
Definition at line 59 of file ConcurrencyUtils.cc.
References Arcane::ITaskFunctor::executeFunctor().
|
inlineoverridevirtual |
Launches the child tasks tasks and blocks until they finish.
Implements Arcane::ITask.
Definition at line 69 of file ConcurrencyUtils.cc.
References Arcane::ConstArrayView< T >::size().
|
static |
Definition at line 42 of file ConcurrencyUtils.cc.