unlock
Releases the mutex which was previously acquired with lock() or tryLock().
It is undefined behavior if the mutex is unlocked from a different thread that it was locked from.
Function parameters
Parameters
- self:*Mutex
Type definitions in this namespace
Types
Tries to acquire the mutex without blocking the caller's thread.
Functions
Source
Implementation
pub fn unlock(self: *Mutex) void {
self.impl.unlock();
}