Class FIFOSemaphore.FIFOWaitQueue
java.lang.Object
EDU.oswego.cs.dl.util.concurrent.QueuedSemaphore.WaitQueue
EDU.oswego.cs.dl.util.concurrent.FIFOSemaphore.FIFOWaitQueue
- Enclosing class:
FIFOSemaphore
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 QueuedSemaphore.WaitQueue
QueuedSemaphore.WaitQueue.WaitNode -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected QueuedSemaphore.WaitQueue.WaitNodeprotected QueuedSemaphore.WaitQueue.WaitNode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected QueuedSemaphore.WaitQueue.WaitNodeextract()protected void
-
Field Details
-
head_
-
tail_
-
-
Constructor Details
-
FIFOWaitQueue
protected FIFOWaitQueue()
-
-
Method Details
-
insert
- Specified by:
insertin classQueuedSemaphore.WaitQueue
-
extract
- Specified by:
extractin classQueuedSemaphore.WaitQueue
-