vibe.d beta banner
get vibe.d
0.10.0

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

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-2014 RejectedSoftware e.K.

License

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