|
SensESP 3.1.1
Universal Signal K sensor toolkit ESP32
|
Thread-safe queue for inter-task communication. Works like std::queue. More...
#include <sensesp/system/task_queue_producer.h>
Public Member Functions | |
| SafeQueue () | |
| ~SafeQueue () | |
| void | push (const T &value) |
| bool | pop (T &value, unsigned int max_duration_ms) |
| bool | empty () |
| size_t | size () |
Protected Attributes | |
| SemaphoreHandle_t | write_lock_ |
Thread-safe queue for inter-task communication. Works like std::queue.
| T |
Definition at line 20 of file task_queue_producer.h.
|
inline |
Definition at line 22 of file task_queue_producer.h.
|
inline |
Definition at line 30 of file task_queue_producer.h.
|
inline |
Definition at line 60 of file task_queue_producer.h.
|
inline |
Definition at line 44 of file task_queue_producer.h.
|
inline |
Definition at line 36 of file task_queue_producer.h.
|
inline |
Definition at line 72 of file task_queue_producer.h.
|
protected |
Definition at line 85 of file task_queue_producer.h.