PosixMutex.tryLock

Tries to increment the internal lock counter.

class PosixMutex
@nogc override nothrow @trusted
bool
tryLock
()

Return Value

Type: bool

true if the mutex was locked, false otherwise.

Meta