ESPHome
2024.12.2
|
Mutex implementation, with API based on the unavailable std::mutex. More...
#include <helpers.h>
Public Member Functions | |
Mutex () | |
Mutex (const Mutex &)=delete | |
~Mutex () | |
void | lock () |
bool | try_lock () |
void | unlock () |
Mutex & | operator= (const Mutex &)=delete |
Mutex implementation, with API based on the unavailable std::mutex.
esphome::Mutex::Mutex | ( | ) |
Definition at line 643 of file helpers.cpp.
|
delete |
esphome::Mutex::~Mutex | ( | ) |
Definition at line 644 of file helpers.cpp.
void esphome::Mutex::lock | ( | ) |
Definition at line 645 of file helpers.cpp.
bool esphome::Mutex::try_lock | ( | ) |
Definition at line 646 of file helpers.cpp.
void esphome::Mutex::unlock | ( | ) |
Definition at line 647 of file helpers.cpp.