Mutex.lock

If this lock is not already held by the caller, the lock is acquired, then the internal counter is incremented by one.

class Mutex
@trusted
void
lock
(
)

Throws

SyncError on error.

Meta