EDU.oswego.cs.dl.util.concurrent

Class WaitFreeQueue.Node

protected static final class WaitFreeQueue.Node extends Object

List nodes for Queue *
Field Summary
protected WaitFreeQueue.Nodenext
protected Objectvalue
Constructor Summary
protected Node(Object x)
Make a new node with indicated item, and null link *
Method Summary
protected booleanCASNext(WaitFreeQueue.Node oldNext, WaitFreeQueue.Node newNext)
Simulate a CAS operation for 'next' field *

Field Detail

protected volatile WaitFreeQueue.Node next

value

protected final Object value

Constructor Detail

Node

protected Node(Object x)
Make a new node with indicated item, and null link *

Method Detail

CASNext

protected boolean CASNext(WaitFreeQueue.Node oldNext, WaitFreeQueue.Node newNext)
Simulate a CAS operation for 'next' field *