|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectEDU.oswego.cs.dl.util.concurrent.QueuedSemaphore.WaitQueue
EDU.oswego.cs.dl.util.concurrent.FIFOSemaphore.FIFOWaitQueue
protected static class FIFOSemaphore.FIFOWaitQueue
Simple linked list queue used in FIFOSemaphore. Methods are not synchronized; they depend on synch of callers
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class EDU.oswego.cs.dl.util.concurrent.QueuedSemaphore.WaitQueue |
|---|
QueuedSemaphore.WaitQueue.WaitNode |
| Field Summary | |
|---|---|
protected QueuedSemaphore.WaitQueue.WaitNode |
head_
|
protected QueuedSemaphore.WaitQueue.WaitNode |
tail_
|
| Constructor Summary | |
|---|---|
protected |
FIFOSemaphore.FIFOWaitQueue()
|
| Method Summary | |
|---|---|
protected QueuedSemaphore.WaitQueue.WaitNode |
extract()
|
protected void |
insert(QueuedSemaphore.WaitQueue.WaitNode w)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected QueuedSemaphore.WaitQueue.WaitNode head_
protected QueuedSemaphore.WaitQueue.WaitNode tail_
| Constructor Detail |
|---|
protected FIFOSemaphore.FIFOWaitQueue()
| Method Detail |
|---|
protected void insert(QueuedSemaphore.WaitQueue.WaitNode w)
insert in class QueuedSemaphore.WaitQueueprotected QueuedSemaphore.WaitQueue.WaitNode extract()
extract in class QueuedSemaphore.WaitQueue
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||