vibe.d beta banner
get vibe.d

Class InterruptibleTaskReadWriteMutex.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.

Template arguments

class Mutex(vibe.core.sync.ReadWriteMutexState!(true).ReadWriteMutexState.LockingIntent INTENT);

Inherits from

  • Object (base class)


Name Description
lock Lock the mutex. cf. core.sync.mutex.Mutex
tryLock Try to lock the mutex. cf. core.sync.mutex.Mutex
unlock Unlock the mutex. cf. core.sync.mutex.Mutex

Leonid Kramer, Sönke Ludwig, Manuel Frischknecht


© 2012-2015 RejectedSoftware e.K.


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