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
void
lock
()

Throws

SyncException on error.

Meta