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
void runWorkerTaskDist(FT, ARGS...)(
auto ref ARGS args
if (is(typeof(*func) == function));
void runWorkerTaskDist(alias method, T, ARGS...)(
© 2012-2015 RejectedSoftware e.K.
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.