EDU.oswego.cs.dl.util.concurrent

Class FIFOSemaphore.FIFOWaitQueue

protected static class FIFOSemaphore.FIFOWaitQueue extends WaitQueue

Simple linked list queue used in FIFOSemaphore. Methods are not synchronized; they depend on synch of callers
Field Summary
protected WaitNodehead_
protected WaitNodetail_
Method Summary
protected WaitNodeextract()
protected voidinsert(WaitNode w)

Field Detail

head_

protected WaitNode head_

tail_

protected WaitNode tail_

Method Detail

extract

protected WaitNode extract()

insert

protected void insert(WaitNode w)