runWorkerTaskDist
- void runWorkerTaskDist(FT func, ARGS args)
- void runWorkerTaskDist(shared(T) object, ARGS args)
- void runWorkerTaskDist(TaskSettings settings, FT func, ARGS args)
- void runWorkerTaskDist(TaskSettings settings, shared(T) object, ARGS args)
- void runWorkerTaskDist(FT func, ARGS args)
- void runWorkerTaskDist(shared(T) object, ARGS args)
deprecated
void
runWorkerTaskDist
- void runWorkerTaskDist(TaskSettings settings, FT func, ARGS args)
- void runWorkerTaskDist(TaskSettings settings, shared(T) object, ARGS args)
vibe core core
enumsfunctionsmanifest constantspropertiesstructsvariables
Runs a new asynchronous task in all worker threads concurrently.
This function is mainly useful for long-living tasks that distribute their work across all CPU cores. Only function pointers with weakly isolated arguments are allowed to be able to guarantee thread-safety.
The number of tasks started is guaranteed to be equal to workerThreadCount.