Returns the size at time of being called. Do not use to determine whether to call DequeueItem(), use TryDequeueItem() instead
| 140 | /// Returns the size at time of being called. |
| 141 | /// Do not use to determine whether to call DequeueItem(), use TryDequeueItem() instead |
| 142 | size_t Size(void) |
| 143 | { |
| 144 | cCSLock Lock(m_CS); |
| 145 | return m_Contents.size(); |
| 146 | } |
| 147 | |
| 148 | |
| 149 | /// Removes the item from the queue. If there are multiple such items, only the first one is removed. |
no test coverage detected