- Replaced now-completed TODO with an actual comment in `dequeue()`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-04-05 08:33:48 +02:00
parent eecb9fef02
commit c2e034715d
1 changed files with 1 additions and 2 deletions

View File

@ -115,8 +115,7 @@ public class Queue
/* Lock the item queue */
queueLock.lock();
// TODO: Get item off queue (if anything)
// ... if nothing is available then do wait again
/* Consume the front of the queue (if non-empty) */
if(!queue.empty())
{
/* Pop the front item off */