mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 09:38:42 +00:00
202bcf5b101dd8497f147e1163e6ad7a262fb600
Walk back the __atomic_store_n on the writer paths — the mutators already hold lock_, so plain counter_++/=/+=/-- is sufficient to serialise against other writers. The reader fast-path still uses __atomic_load_n(&counter, __ATOMIC_RELAXED) to express concurrent- read intent in the C++ memory model and keep the compiler from caching/eliding the read. On ARMv5TE it compiles to a plain LDR — same codegen as before.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
601 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
