Function Mutex.lock

Locks this Mutex, blocks until it is unlocked by the current owner.

void lock() nothrow @nogc;