nuttx/sched/wdog
ligd 9116ed9247 sched/wdog: fix switch_context caused error in wd_start()
Thead A:                     Thread B:
wd_start(wdogX)
wd_cancel
nxsched_cancel_timer  -->    wd_start(wdogX)
                             wd_cancel
                             add wdogX to g_wdactivelist
                      <--
add wdogX to g_wdactivelist

then, you will find wdogX add twice.

Change-Id: Icbf3b2badff20908e115c9134e2400cdcb32b1e0
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-08-27 16:59:20 +09:00
..
Make.defs
wd_cancel.c sched/wdog: Remove flags field from wdog_s to save memory 2021-07-01 19:27:10 -03:00
wd_gettime.c
wd_initialize.c
wd_recover.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
wd_start.c sched/wdog: fix switch_context caused error in wd_start() 2021-08-27 16:59:20 +09:00
wdog.h sched/wdog: fix switch_context caused error in wd_start() 2021-08-27 16:59:20 +09:00