33#ifndef DVD_TASK_POOL_INL_
34#define DVD_TASK_POOL_INL_
38 template<
class Predicate>
44 template<
class Predicate>
47 return CreateTask(
nullptr,
MOV(threadedFunction), allowedInIdle );
static Task * AllocateTask(Task *parentTask, DELEGATE< void, Task & > &&func, bool allowedInIdle) noexcept
Handle console commands that start with a forward slash.
Task * CreateTask(Predicate &&threadedFunction, bool allowedInIdle=true)