vibe.d beta banner
get vibe.d
0.7.30

Class InterruptibleTaskReadWriteMutex

Alternative to TaskReadWriteMutex that supports interruption.

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

cf. core.sync.mutex.ReadWriteMutex

Inherits from

  • Object (base class)

Constructors

Name Description
this

Fields

Name Type Description
reader InterruptibleTaskReadWriteMutex.Mutex!(0)
writer InterruptibleTaskReadWriteMutex.Mutex!(1)

Properties

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

Inner classes

Name Description
Mutex A common baseclass for both of the provided mutexes.

Aliases

Name Description
Policy The 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.