private static class ReaderWriterLock.ReaderWriterNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
nAcquires
The number of acquires.
|
protected static int |
READER
A reader.
|
protected int |
state
The state.
|
protected java.lang.Thread |
t
The thread.
|
protected static int |
WRITER
A writer.
|
Modifier | Constructor and Description |
---|---|
private |
ReaderWriterNode(java.lang.Thread t,
int state)
Creates a new node.
|
protected static final int READER
protected static final int WRITER
protected java.lang.Thread t
protected int state
protected int nAcquires