PyDocs

Nav

Concurrent Execution

Semaphore

multiprocessing

class (source) not Androidnot iOSnot WASI
  • Semaphore([value])
Returns a semaphore object
Members of Semaphore

g

get_value
Return the current value of semaphore.

l

locked
Return a boolean indicating whether this object is locked right now.
0 Examples
No examples for multiprocessing/Semaphore.
See Also
No see-alsos for multiprocessing/Semaphore
0 Notes
No notes for Semaphore