ESPHome 2025.7.1
|
#include <lock_free_queue.h>
Public Member Functions | |
NotifyingLockFreeQueue () | |
bool | push (T *element) |
void | set_task_to_notify (TaskHandle_t task) |
![]() | |
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 | |
![]() | |
bool | push_internal_ (T *element, bool &was_empty, uint8_t &old_tail) |
![]() | |
T * | buffer_ [SIZE] |
std::atomic< uint16_t > | dropped_count_ |
std::atomic< uint8_t > | head_ |
std::atomic< uint8_t > | tail_ |
Definition at line 115 of file lock_free_queue.h.
|
inline |
Definition at line 117 of file lock_free_queue.h.
|
inline |
Definition at line 119 of file lock_free_queue.h.
|
inline |
Definition at line 143 of file lock_free_queue.h.