How do I make use of watchdog timer properly in my RTOS?

So I heard about this watchdog timer thing, with lots of processes, it's kinda confusing. How do I make use of watchdog timer properly in my RTOS? Maybe having each task send a little signal with its own special ID?
Solution
In an RTOS, use the watchdog timer to monitor tasks' execution. Each task should periodically reset the watchdog timer to prevent it from timing out. If a task fails to reset the timer within its allotted time, it indicates a fault, triggering appropriate error handling. Sending signals with task IDs could aid in identifying which task caused the watchdog timeout, improving debugging.
Was this page helpful?