vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

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

NameDescription
this (policy)

Fields

NameTypeDescription
reader InterruptibleTaskReadWriteMutex.Mutex!(0)
writer InterruptibleTaskReadWriteMutex.Mutex!(1)

Properties

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

Inner classes

NameDescription
Mutex A common baseclass for both of the provided mutexes.

Aliases

NameDescription
Policy The policy with which the mutex should operate.
Reader
Writer
Authors

Leonid Kramer, Sönke Ludwig, Manuel Frischknecht

Copyright

© 2012-2019 Sönke Ludwig

License

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