PyDocs

Nav

Networking and Interprocess Communication

Lock.release

asyncio

method of Lock (source) not WASI
  • Lock.release()
Release a lock.

When the lock is locked, reset it to unlocked, and return.
If any other tasks are blocked waiting for the lock to become
unlocked, allow exactly one of them to proceed.

When invoked on an unlocked lock, a RuntimeError is raised.

There is no return value.
0 Examples
No examples for asyncio/Lock.release.
See Also
No see-alsos for asyncio/Lock.release
0 Notes
No notes for Lock.release