EtcPal
HEAD (unstable)
ETC Platform Abstraction Layer (EtcPal)
|
View other versions:
|
Static C++ utilities for the queue (RTOS queues) module.
Provides a template class StaticQueue which can be used to create blocking OS queues of arbitrary objects. 'Static' queues are queues for which the underlying memory is allocated statically.
Use the Send() and Receive() functions to add items to and remove items from the queue.
By default, the Send() and Receive() functions will block indefinitely. You can also specify timeouts to these functions:
In these cases, the Send() and Receive() functions will return false if the timeout was reached while waiting.
OS queues are only available on RTOS platforms. See the queue (RTOS queues) module for details on what platforms this class is available on.
Data Structures | |
class | StaticQueue< T, N > |
An RTOS queue class. More... | |