nuttx/sched/wdog
chao an 6300bc5522 sched/wdog: fix race condition in wd_gettime()
Move WDOG_ISACTIVE check inside critical section protection to avoid race condition

Signed-off-by: chao an <anchao.archer@bytedance.com>
2025-12-26 11:51:02 +08:00
..
CMakeLists.txt sched/wdog: Remove wd_recover. 2025-12-24 16:46:16 +08:00
Make.defs sched/wdog: Remove wd_recover. 2025-12-24 16:46:16 +08:00
wd_cancel.c sched/wdog: Simplify the code and correct the critical_section. 2025-12-24 16:46:16 +08:00
wd_gettime.c sched/wdog: fix race condition in wd_gettime() 2025-12-26 11:51:02 +08:00
wd_initialize.c sched/wdog: Revert the spin-lock to big-kernel-lock (enter_critical_section). 2025-12-24 16:46:16 +08:00
wd_start.c sched/wdog: Simplify the code and correct the critical_section. 2025-12-24 16:46:16 +08:00
wdog.h sched/wdog: Revert the spin-lock to big-kernel-lock (enter_critical_section). 2025-12-24 16:46:16 +08:00