TaskReadWriteMutex.Mutex

A common baseclass for both of the provided mutexes.

The intent for the according mutex is specified through the INTENT template argument, which determines if a mutex is used for read or write locking.

class TaskReadWriteMutex
final
class Mutex : core.sync.mutex.Mutex, Lockable () {}

Members

Functions

lock
void lock()

Lock the mutex. cf. core.sync.mutex.Mutex

tryLock
bool tryLock()

Try to lock the mutex. cf. core.sync.mutex.Mutex

unlock
void unlock()

Unlock the mutex. cf. core.sync.mutex.Mutex

Inherited Members

From Lockable

lock
void lock()
Undocumented in source.
unlock
void unlock()
Undocumented in source.
tryLock
bool tryLock()
Undocumented in source.

Meta