AnsweredAssumed Answered

Task managment - Kill various tasks

Question asked by Carl Norman on Oct 3, 2009
Latest reply on Nov 2, 2009 by Carl Norman



Can someone give me some conceptual approachs to the most common way to have a parent task destroy its child tasks?


Basically, we have a 'main_task' that creates a heap of different tasks that have all sorts of drivers open (comm ports, SPI drivers, Flashx etc), some connect to external devices which are 'out of my control', all have I/O controllers to reset those devices. I need to add some software to my main task that will allow me to destroy all those tasks if something stops responding or act normally, however, i need my main task to keep running so i can report back errors and manage the reboot processes. If I cannot manage a reboot, I will need to reboot the entire processor.


What is 'the right' way to go about doing this?


Thanks in advance,