Monitoring the "existence" o...

groufosse wrote on Friday, June 14, 2013:

I have a very small footprint, high priority task that I want to be able to determine whether or not 2 other tasks “exist”. How can I do this?

Thank you for your help.

davedoors wrote on Friday, June 14, 2013:

Store the handles of the two tasks in two variables when they are created, then set the value of the variables to null when the tasks are deleted. The high priority task can then check the value of the handle. If the handle is not null then the task exists.

woops_ wrote on Friday, June 14, 2013:

or http://www.freertos.org/a00021.html#usTaskGetNumberOfTasks

groufosse wrote on Friday, June 14, 2013:

Guys,

Great, i will try those solutions singly or possibly both.

Regards,
Gary