Function unlock [src]
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.
Prototype
pub fn unlock(self: *Mutex) void
Parameters
self: *Mutex
Source
pub fn unlock(self: *Mutex) void {
self.impl.unlock();
}