esp-open-rtos/open_esplibs/libmain
Flavio Bayer de426c08b6
bugfix/ets_timer.c: race condition while disarming
If `sdk_ets_timer_arm_ms_us` is called right after `vPortExitCritical` inside `sdk_ets_timer_disarm` on line 247 (by an ISR for example, which was my case), execution will loop forever on line 196, since `timer->next!=ETS_TIMER_NOT_ARMED`, which was supposed to be changed in line 248.
By delaying the IRS or context switch until `sdk_ets_timer_disarm` the problem is fixed.
2018-04-13 16:08:03 -03:00
..
ets_timer.c bugfix/ets_timer.c: race condition while disarming 2018-04-13 16:08:03 -03:00
misc.c open_esplibs: Add README and Copyright headers 2016-07-06 17:22:09 +10:00
os_cpu_a.c Add an argument to ISRs. Disable interrupts while masking them. 2017-08-30 13:51:32 +10:00
spi_flash.c open_esplibs: Add README and Copyright headers 2016-07-06 17:22:09 +10:00
timers.c FreeRTOS type updates. (#261) 2016-11-05 12:04:03 +02:00
uart.c open_esplibs: Add README and Copyright headers 2016-07-06 17:22:09 +10:00
user_interface.c lwip update 2018-02-09 20:26:02 +11:00
xtensa_context.S open_esplibs: Add README and Copyright headers 2016-07-06 17:22:09 +10:00