Forum Discussion
Altera_Forum
Honored Contributor
21 years agoQuerying if a task is alive in uCOS
Hi, I want to implement a simple software watch dog task whose job is to see if all other tasked in the system are alive. If a task hangs (is dead) the watch dog would then remove power to an I...
Altera_Forum
Honored Contributor
21 years agoIt would be easier to have each task that needs to be watched register with the watchdog task that you are creating. This way each task could be given a unique interval with each to signal the wdog task that they are alive.
The OS would have difficulty saying whether a task is waiting too long for semaphore or in some unexpected infinite loop. This is an application specific problem.