Asynchronous I/O that doesn’t get in your way, written in D
Class TaskSemaphore
Thread-local semaphore implementation for tasks.
classTaskSemaphore;
When the semaphore runs out of concurrent locks, it will suspend. This class
is used in vibe.core.connectionpool to limit the number of concurrent
connections.