Mutex.unlock

void unlock() @trusted

Decrements the internal lock count by one. If this brings the count to zero, the lock is released.

Note

Mutex.unlock does not throw, but a class derived from Mutex can throw.

Use unlock_nothrow in nothrow @nogc code.

void unlock() @trusted shared

ditto