esp-idf/components/esp_timer
Jens Gutermuth 07d1e19107
improve thread safety in esp_timer
Inadequate locking in the esp_timer component allowed corruption
of the s_timers linked list:

1. timer_armed(timer) returns false
2. another task arms the timer and adds it to s_timers
3. the list is locked
4. the timer is inserted into s_timers again

The last step results in a loop in the s_timers list, which causes
an infinite loop when iterated. This change always locks the
list before checking if the timer is already armed avoiding
the data race.
2023-05-02 20:22:24 +02:00
..
include esp_timer: Adds AFFINITY options for task and ISR 2023-03-02 20:08:02 +08:00
private_include esp_timer: init rtc timer and system timer in early init 2021-10-26 19:07:34 +08:00
src improve thread safety in esp_timer 2023-05-02 20:22:24 +02:00
test_apps esp32h4: removed esp32h4 related codes 2023-04-26 18:53:12 +08:00
.build-test-rules.yml ci: update idf-core related tests for C6 2023-02-13 13:01:57 +08:00
CMakeLists.txt systimer: support etm event 2022-11-23 15:32:34 +08:00
Kconfig esp_timer: Adds AFFINITY options for task and ISR 2023-03-02 20:08:02 +08:00
sdkconfig.rename esp32: add implementation of esp_timer based on TG0 LAC timer 2020-02-06 14:00:18 +08:00