Added some todos for later

This commit is contained in:
Tristan B. Velloza Kildaire 2021-09-08 14:29:27 +02:00
parent 4f83991baf
commit d9e5e54477
1 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,10 @@ public final class Queue
/**
* Attempts to coninuously dequeue the
* head of the queue
*
* TODO: Add a timeout capability
* TODO: Add tryLock, yield on failure (with loop for recheck ofc)
* TODO: Possible multiple dequeue feature? Like .receive
*/
public QueueItem dequeue()
{