Mutex.tryLock

Tries to increment the internal lock counter.

class Mutex
@nogc nothrow @safe
bool
tryLock
()

Return Value

Type: bool

true if the mutex was locked, false otherwise.

Meta