Class TaskReadWriteMutex.Mutex
A common baseclass for both of the provided mutexes.
class Mutex(vibe .core .sync .ReadWriteMutexState!(false) INTENT)
;
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.
Methods
Name | Description |
---|---|
lock
()
|
Lock the mutex. cf. core
|
tryLock
()
|
Try to lock the mutex. cf. core
|
unlock
()
|
Unlock the mutex. cf. core
|