Files
esp-idf/components
Ivan Grokhotkov 31b7db5c38 esp_timer: do not allow deleting timers while callbacks are dispatched
timer_process_alarm function of esp_timer holds a spinlock for the
entire duration of its operation, except for the time when timer
callback function is called. It is possible that when
timer_process_alarm releases the spinlock, a higher priority task may
run and delete the timer. Then the execution will return to
timer_process_alarm, and this will either cause a crash, or undesired
execution of callback after the timer has been stopped or deleted.

To solve this problem, add a mutex which will prevent deletion of timers
while callbacks are being dispatched.
2019-01-02 20:06:06 +11:00
..
2018-09-11 09:44:12 +08:00
2018-09-13 08:56:59 +08:00
2018-10-20 12:07:24 +08:00
2018-12-05 16:32:24 +08:00
2018-10-20 12:07:24 +08:00
2018-09-11 09:44:12 +08:00
2018-09-11 09:44:12 +08:00
2018-09-11 09:44:12 +08:00
2018-12-10 21:26:24 +08:00
2018-11-26 15:55:17 +11:00
2018-09-11 09:44:12 +08:00
2018-10-20 12:07:24 +08:00