vibe.d beta banner
get vibe.d
0.7.31

Function setConcurrencyPrimitive

Sets the concurrency primitive to use for śtd.concurrency.spawn().

void setConcurrencyPrimitive (
  ConcurrencyPrimitive primitive
);

By default, spawn() will start a thread for each call, mimicking the default behavior of std.concurrency.

Authors

Sönke Ludwig

Copyright

© 2013-2016 RejectedSoftware e.K.

License

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