protected static final class WaitFreeQueue.Node
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected WaitFreeQueue.Node |
next |
protected java.lang.Object |
value |
Modifier | Constructor and Description |
---|---|
protected |
Node(java.lang.Object x)
Make a new node with indicated item, and null link
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
CASNext(WaitFreeQueue.Node oldNext,
WaitFreeQueue.Node newNext)
Simulate a CAS operation for 'next' field
|
protected final java.lang.Object value
protected volatile WaitFreeQueue.Node next
protected Node(java.lang.Object x)
protected boolean CASNext(WaitFreeQueue.Node oldNext, WaitFreeQueue.Node newNext)