ESPHome
2024.11.1
|
Helper class that wraps a mutex with a RAII-style API. More...
#include <helpers.h>
Public Member Functions | |
LockGuard (Mutex &mutex) | |
~LockGuard () | |
Helper class that wraps a mutex with a RAII-style API.
This behaves like std::lock_guard: as long as the object is alive, the mutex is held.