TaskPool.runTaskH
- Task runTaskH(FT func, ARGS args)
- Task runTaskH(shared(T) object, ARGS args)
- Task runTaskH(TaskSettings settings, FT func, ARGS args)
- Task runTaskH(TaskSettings settings, shared(T) object, ARGS args)
- Task runTaskH(FT func, ARGS args)
- Task runTaskH(shared(T) object, ARGS args)
- Task runTaskH(TaskSettings settings, FT func, ARGS args)
class TaskPool
deprecated
runTaskH
if (
isFunctionPointer!FT &&
&&
)
- Task runTaskH(TaskSettings settings, shared(T) object, ARGS args)
vibe core taskpool TaskPool
constructorsfunctionsproperties
Runs a new asynchronous task in a worker thread, returning the task handle.
This function will yield and wait for the new task to be created and started in the worker thread, then resume and return it.
Only function pointers with weakly isolated arguments are allowed to be able to guarantee thread-safety.