PosixMutex

Native implementation of a mutually exclusive lock.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

lock
void lock()

Increments the internal lock counter.

tryLock
bool tryLock()

Tries to increment the internal lock counter.

unlock
void unlock()

Decrements the internal lock counter, If the counter reaches 0, the lock is released.

Meta