tango.core.sync.ReadWriteMutex

The read/write mutex module provides a primitive for maintaining shared read access and mutually exclusive write access.

Members

Classes

ReadWriteMutex
class ReadWriteMutex

This class represents a mutex that allows any number of readers to enter, but when a writer enters, all other readers and writers are blocked.

SyncException (from tango.core.Exception)
class SyncException via public import tango.core.Exception : SyncException;

Base class for synchronization exceptions.

Functions

testRead
void testRead(ReadWriteMutex.Policy policy)

///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

testReadWrite
void testReadWrite(ReadWriteMutex.Policy policy)

///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////

Meta

License

BSD style: $(LICENSE)

Authors

Sean Kelly