1 #ifndef MESSAGE_QUEUE_HXX_
2 #define MESSAGE_QUEUE_HXX_
4 #include <condition_variable>
15 template <
typename Type>
using Deque = std::deque<Type>;
16 template <
typename Semaphore>
using Lock = std::unique_lock<Semaphore>;
32 void push(Event &&event);
38 bool peek(
void) noexcept;