PyDocs

Nav

Networking and Interprocess Communication

BoundedSemaphore

asyncio

class (source) not WASI
  • BoundedSemaphore(value=1)
A bounded semaphore implementation.

This raises ValueError in release() if it would increase the value
above the initial value.
Changed in 3.10
  • 3.10: Removed the loop parameter.
0 Examples
No examples for asyncio/BoundedSemaphore.
See Also
No see-alsos for asyncio/BoundedSemaphore
0 Notes
No notes for BoundedSemaphore