vibe.d beta banner
get vibe.d
0.7.30

Function setConcurrencyPrimitive

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

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

Prototype

void setConcurrencyPrimitive(
  ConcurrencyPrimitive primitive
);
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.