EDU.oswego.cs.dl.util.concurrent
public abstract class QueuedSemaphore extends Semaphore
| Nested Class Summary | |
|---|---|
| protected abstract static class | QueuedSemaphore.WaitQueue
Base class for internal queue classes for semaphores, etc.
|
| Field Summary | |
|---|---|
| protected QueuedSemaphore.WaitQueue | wq_ |
| Method Summary | |
|---|---|
| void | acquire() |
| boolean | attempt(long msecs) |
| protected QueuedSemaphore.WaitQueue.WaitNode | getSignallee() |
| protected boolean | precheck() |
| protected boolean | recheck(QueuedSemaphore.WaitQueue.WaitNode w) |
| void | release() |
| void | release(long n) Release N permits * |