|
ESPHome 2025.10.3
|
Helper class to lock the lwIP TCPIP core when making lwIP API calls from non-TCPIP threads. More...
#include <helpers.h>
Public Member Functions | |
| LwIPLock () | |
| ~LwIPLock () | |
| LwIPLock (const LwIPLock &)=delete | |
| LwIPLock & | operator= (const LwIPLock &)=delete |
Helper class to lock the lwIP TCPIP core when making lwIP API calls from non-TCPIP threads.
This is needed on multi-threaded platforms (ESP32) when CONFIG_LWIP_TCPIP_CORE_LOCKING is enabled. It ensures thread-safe access to lwIP APIs.
| esphome::LwIPLock::LwIPLock | ( | ) |
Definition at line 38 of file helpers.cpp.
| esphome::LwIPLock::~LwIPLock | ( | ) |
Definition at line 55 of file helpers.cpp.
|
delete |