Fixed Documentation
This commit is contained in:
parent
13bbb3d99d
commit
d26c0e3815
@ -69,10 +69,8 @@ public:
|
|||||||
m_evtAdded.Set();
|
m_evtAdded.Set();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dequeues an Item from the queue if any are present, provides no
|
// Dequeues an Item from the queue if any are present. Returns true if
|
||||||
// guarantees about success if the list is empty but an item is enqueued at
|
// successful. Value of item is undefined if Dequeuing was unsuccessful.
|
||||||
// the same time. Returns true if successful. Value of item is undefined if
|
|
||||||
// Dequeuing was unsuccessful.
|
|
||||||
bool TryDequeueItem(ItemType& item)
|
bool TryDequeueItem(ItemType& item)
|
||||||
{
|
{
|
||||||
cCSLock Lock(m_CS);
|
cCSLock Lock(m_CS);
|
||||||
|
Loading…
Reference in New Issue
Block a user