Enqueues an item to the queue, may block if other threads are accessing the queue.
| 56 | |
| 57 | /// Enqueues an item to the queue, may block if other threads are accessing the queue. |
| 58 | void EnqueueItem(ItemType a_Item) |
| 59 | { |
| 60 | cCSLock Lock(m_CS); |
| 61 | m_Contents.push_back(a_Item); |
| 62 | m_evtAdded.Set(); |
| 63 | } |
| 64 | |
| 65 | |
| 66 | /// Enqueues an item in the queue if not already present (as determined by operator ==). Blocks other threads from accessing the queue. |
no test coverage detected