ESPHome
2024.10.2
|
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.