semaphore
Also written: BoundedSemaphore
A counter of free slots. `threading.BoundedSemaphore(2)` allows two holders at once, which is how the bulkhead limits calls.
Also written: BoundedSemaphore
A counter of free slots. `threading.BoundedSemaphore(2)` allows two holders at once, which is how the bulkhead limits calls.