vibe.d beta banner
get vibe.d
0.8.1

Asynchronous I/O that doesn’t get in your way, written in D

Template runWorkerTaskDist

Runs a new asynchronous task in all worker threads concurrently.

template runWorkerTaskDist(FT, ARGS...) ;
template runWorkerTaskDist(alias method, T, ARGS...) ;

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.

Contained Functions

NameDescription
runWorkerTaskDistRuns a new asynchronous task in all worker threads concurrently.

Contained Functions

NameDescription
runWorkerTaskDist
Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.