From 26bdcf7d832416ee332c65ae33b5d1a2b917d585 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Thu, 9 Sep 2021 11:30:44 +0200 Subject: [PATCH] Added comment --- source/tristanable/queue.d | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/tristanable/queue.d b/source/tristanable/queue.d index c2ee0c9..5747ae2 100644 --- a/source/tristanable/queue.d +++ b/source/tristanable/queue.d @@ -91,6 +91,10 @@ public final class Queue queueLock.unlock(); } + /** + * Returns true if this queue has items ready + * to be dequeued, false otherwise + */ public bool poll() { /* Status */