distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
MessageQueue.hpp File Reference

MessageQueue class header. More...

Include dependency graph for MessageQueue.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  distortos::MessageQueue< T >
 MessageQueue class is a message queue for thread-thread, thread-interrupt or interrupt-interrupt communication. It supports multiple readers and multiple writers. It is implemented as a wrapper for internal::MessageQueueBase. More...
 

Namespaces

 distortos
 Top-level namespace of distortos project.
 

Macros

#define DISTORTOS_MESSAGEQUEUE_EMPLACE_SUPPORTED   __GNUC_PREREQ(4, 9)
 

Detailed Description

MessageQueue class header.

Author
Copyright (C) 2015-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Macro Definition Documentation

◆ DISTORTOS_MESSAGEQUEUE_EMPLACE_SUPPORTED

#define DISTORTOS_MESSAGEQUEUE_EMPLACE_SUPPORTED   __GNUC_PREREQ(4, 9)

GCC 4.9 is needed for all MessageQueue::emplace() functions - earlier versions don't support parameter pack expansion in lambdas