Package org.jfree.threads
Class ReaderWriterLock.ReaderWriterNode
java.lang.Object
org.jfree.threads.ReaderWriterLock.ReaderWriterNode
- Enclosing class:
ReaderWriterLock
A node for the waiting list.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
READER
protected static final int READERA reader.- See Also:
-
WRITER
protected static final int WRITERA writer.- See Also:
-
t
The thread. -
state
protected int stateThe state. -
nAcquires
protected int nAcquiresThe number of acquires.
-
-
Constructor Details
-
ReaderWriterNode
Creates a new node.- Parameters:
t
- the thread.state
- the state.
-