#include <event_mpsc_queue.hpp>
◆ EventMpscQueue()
| exchange::server::EventMpscQueue::EventMpscQueue |
( |
SharedMemory & | sharedMemory | ) |
|
|
explicit |
◆ pop()
| Event exchange::server::EventMpscQueue::pop |
( |
| ) |
|
|
nodiscardnoexcept |
Busy wait until there is an event to consume in the MPSC queue.
- Returns
- The event received the MPSC queue.
◆ push()
| void exchange::server::EventMpscQueue::push |
( |
const Event & | event | ) |
|
|
noexcept |
Push an event immediately to the MPSC queue.
- Parameters
-
| event | The event to push to the MPSC queue. |
The documentation for this class was generated from the following files: