Package EDU.oswego.cs.dl.util.concurrent
Class QueuedSemaphore.WaitQueue.WaitNode
- java.lang.Object
-
- EDU.oswego.cs.dl.util.concurrent.QueuedSemaphore.WaitQueue.WaitNode
-
- Enclosing class:
- QueuedSemaphore.WaitQueue
protected static class QueuedSemaphore.WaitQueue.WaitNode extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WaitNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
doTimedWait(QueuedSemaphore sem, long msecs)
protected void
doWait(QueuedSemaphore sem)
protected boolean
signal()
-
-
-
Method Detail
-
signal
protected boolean signal()
-
doTimedWait
protected boolean doTimedWait(QueuedSemaphore sem, long msecs) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
doWait
protected void doWait(QueuedSemaphore sem) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
-