vibe.d beta banner
get vibe.d
0.7.31

Class InterruptibleTaskReadWriteMutex

Alternative to TaskReadWriteMutex that supports interruption.

class InterruptibleTaskReadWriteMutex;

This class supports the use of Task.interrupt() while waiting in the lock() method.

cf. core.sync.mutex.ReadWriteMutex

Constructors

Constructors

NameDescription
this

Fields

Fields

NameTypeDescription
readerInterruptibleTaskReadWriteMutex.Mutex!(0)
writerInterruptibleTaskReadWriteMutex.Mutex!(1)

Properties

Properties

NameTypeDescription
policy[get]vibe.core.sync.ReadWriteMutexState!(true)The policy with which the lock has been created.

Inner classes

Inner classes

NameDescription
MutexA common baseclass for both of the provided mutexes.

Aliases

Aliases

NameDescription
PolicyThe policy with which the mutex should operate.
Reader
Writer
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.