Added comment
This commit is contained in:
parent
c241d06ea9
commit
26bdcf7d83
|
@ -91,6 +91,10 @@ public final class Queue
|
||||||
queueLock.unlock();
|
queueLock.unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns true if this queue has items ready
|
||||||
|
* to be dequeued, false otherwise
|
||||||
|
*/
|
||||||
public bool poll()
|
public bool poll()
|
||||||
{
|
{
|
||||||
/* Status */
|
/* Status */
|
||||||
|
|
Loading…
Reference in New Issue