EDU.oswego.cs.dl.util.concurrent
protected static class PrioritySemaphore.PriorityWaitQueue extends WaitQueue
Field Summary | |
---|---|
protected FIFOSemaphore.FIFOWaitQueue[] | cells_ An array of wait queues, one per priority * |
protected int | maxIndex_
The index of the highest priority cell that may need to be signalled,
or -1 if none. |
Constructor Summary | |
---|---|
protected | PriorityWaitQueue() |
Method Summary | |
---|---|
protected WaitNode | extract() |
protected void | insert(WaitNode w) |