A message queue is used to communicate structured data, and has fixed message boundaries
Public Functions
-
inline std::expected<T, OSError> get()
-
inline std::expected<T, OSError> get_noblock()
-
inline std::expected<void, OSError> put(const T &elem)
-
inline std::expected<void, OSError> put_noblock(const T &elem)
-
inline int _pollfd() const
Public Static Functions
-
static inline std::expected<MessageQueue<T>, OSError> create()
Create a message queue