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

Constructors

this
this(Policy policy)
Undocumented in source.

Members

Aliases

Policy
alias Policy = State.Policy

The policy with which the mutex should operate.

Reader
alias Reader = Mutex!READ_ONLY
Undocumented in source.
Writer
alias Writer = Mutex!READ_WRITE
Undocumented in source.

Classes

Mutex
class Mutex(LockingIntent INTENT)

A common baseclass for both of the provided mutexes.

Properties

policy
Policy policy [@property getter]

The policy with which the lock has been created.

Variables

reader
Reader reader;
Undocumented in source.
writer
Writer writer;
Undocumented in source.

Meta