A ReadWriteMutex implementation for fibers.
class TaskReadWriteMutex ;
This mutex can be used in exchange for a
but does not block the event loop in contention situations. The
members are used for locking. Locking the
reader mutex allows access to multiple
readers at once, while the
writer mutex only allows a single writer to lock it at
any given time. Locks on
writer are mutually exclusive (i.e. whenever a
writer is active, no readers can be active at the same time, and vice versa).
|The policy with which the lock has been created.|
|A common baseclass for both of the provided mutexes.|
|The policy with which the mutex should operate.|
Mutexes implemented by this class cannot be interrupted
Task. The corresponding
InterruptException will be deferred until the next blocking
operation yields the event loop.
InterruptibleTaskReadWriteMutex as an alternative that can be