|
ESPHome 2025.12.0-dev
|
#include <lock_free_queue.h>
Public Member Functions | |
| NotifyingLockFreeQueue () | |
| bool | push (T *element) |
| void | set_task_to_notify (TaskHandle_t task) |
Public Member Functions inherited from esphome::LockFreeQueue< T, SIZE > | |
| LockFreeQueue () | |
| bool | push (T *element) |
| T * | pop () |
| size_t | size () const |
| uint16_t | get_and_reset_dropped_count () |
| void | increment_dropped_count () |
| bool | empty () const |
| bool | full () const |
Additional Inherited Members | |
Protected Member Functions inherited from esphome::LockFreeQueue< T, SIZE > | |
| bool | push_internal_ (T *element, bool &was_empty, uint8_t &old_tail) |
Protected Attributes inherited from esphome::LockFreeQueue< T, SIZE > | |
| T * | buffer_ [SIZE] |
| std::atomic< uint16_t > | dropped_count_ |
| std::atomic< uint8_t > | head_ |
| std::atomic< uint8_t > | tail_ |
Definition at line 110 of file lock_free_queue.h.
|
inline |
Definition at line 112 of file lock_free_queue.h.
|
inline |
Definition at line 114 of file lock_free_queue.h.
|
inline |
Definition at line 138 of file lock_free_queue.h.