33bd2fed08
The task_wdt_add function changes the reload_period of the channel to a non-null value, which indicates that the channel is used. If the function is interrupted by a task_wdt_trigger running in ISR context before adding of the new channel has finished, the next timeout will be scheduled based on inconsistent channel data. Using a spinlock avoids such data races. Fixes #61004 Signed-off-by: Martin Jäger <martin@libre.solar> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
task_wdt.c |