Files
Ivan Grokhotkov 1937bc2bd7 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:01:26 +11:00
..
2018-09-13 11:13:27 +08:00
2017-10-18 14:19:19 +08:00
2018-04-04 22:57:45 +08:00
2017-10-18 14:19:19 +08:00
2017-11-27 18:47:40 +08:00
2018-09-25 13:43:55 +08:00
2016-08-17 23:08:22 +08:00
2018-06-15 15:49:23 +08:00
2017-10-18 14:19:16 +08:00
2018-10-11 12:22:34 +08:00
2018-10-11 12:22:34 +08:00
2018-10-11 12:22:34 +08:00