Mutex.unlock

Unlocks mutex. If another thread is blocked in a Mutex.lock call for mutex, it will become unblocked and can lock mutex itself.

Calling Mutex.unlock on a mutex that is not locked by the current thread leads to undefined behaviour.

class Mutex
void
unlock
()