Mutex.lock does not throw, but a class derived from Mutex can throw.
Use lock_nothrow in nothrow @nogc code.
void lock() @trustedIf this lock is not already held by the caller, the lock is acquired, then the internal counter is incremented by one.
Mutex.lock does not throw, but a class derived from Mutex can throw.
Use lock_nothrow in nothrow @nogc code.
void lock() @trusted sharedditto