- readAccess
Run an action with read access and possibly throw a checked exception. The
exception if thrown is th
- writeAccess
Run an action with write access and possibly throw an exception. Here is an
example:
try {
mutex.w
- postWriteRequest
Posts a write request. This request runs immediately iff this Mutex is in the
"pure" exclusive mode,
- isReadAccess
Tests whether this thread has already entered the mutex in read access. If it
returns true, calling
- isWriteAccess
Tests whether this thread has already entered the mutex in write access. If it
returns true, calling
- postReadRequest
Posts a read request. This request runs immediately iff this Mutex is in the
shared mode or this Mut
- <init>
- annotateEventStack
- canUpgrade
- chain
Adds this thread to the queue of waiting threads
- doEvent
Runs the runnable in event queue, either immediatelly, or it posts it into the
queue.
- doEventAccess
Methods for access to event queue and waiting for result.