Asynchronous I/O that doesn’t get in your way, written in D
Class LocalTaskSemaphore
Thread-local semaphore implementation for tasks.
classLocalTaskSemaphore;
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.