vibe.d beta banner
get vibe.d
0.10.0

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

Function createSharedTaskSemaphore

Creates a new semaphore object.

shared(TaskSemaphore) createSharedTaskSemaphore (
  int max_locks
);

These implementations are a task/fiber compatible replacement for core.sync.semaphore.

Authors

Leonid Kramer, Sönke Ludwig, Manuel Frischknecht

Copyright

© 2012-2019 Sönke Ludwig

License

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