vibe.d beta banner
get vibe.d
0.7.31

Class InterruptibleTaskReadWriteMutex.Mutex

A common baseclass for both of the provided mutexes.

class Mutex(vibe.core.sync.ReadWriteMutexState!(true) 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

Methods

NameDescription
lockLock the mutex. cf. core.sync.mutex.Mutex
tryLockTry to lock the mutex. cf. core.sync.mutex.Mutex
unlockUnlock the mutex. cf. core.sync.mutex.Mutex
Authors

Leonid Kramer, Sönke Ludwig, Manuel Frischknecht

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.