summaryrefslogtreecommitdiffstats
path: root/src/OSSupport
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/OSSupport/Queue.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/OSSupport/Queue.h b/src/OSSupport/Queue.h
index ab42c871e..cde26e415 100644
--- a/src/OSSupport/Queue.h
+++ b/src/OSSupport/Queue.h
@@ -69,10 +69,8 @@ public:
m_evtAdded.Set();
}
- // Dequeues an Item from the queue if any are present, provides no
- // guarantees about success if the list is empty but an item is enqueued at
- // the same time. Returns true if successful. Value of item is undefined if
- // Dequeuing was unsuccessful.
+ // Dequeues an Item from the queue if any are present. Returns true if
+ // successful. Value of item is undefined if Dequeuing was unsuccessful.
bool TryDequeueItem(ItemType& item)
{
cCSLock Lock(m_CS);