Lock.release

Release a lock.

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

When invoked on an unlocked lock, an $(D_PSYMBOL Exception) is thrown.

class Lock
void
release
()

Meta