FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [June 2013 Threads] Monitoring the "existence" o...Posted by rog57 on 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.
RE: Monitoring the "existence" o...Posted by Dave on 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.
RE: Monitoring the "existence" o...Posted by woops_ on June 14, 2013 or http://www.freertos.org/a00021.html#usTaskGetNumberOfTasks
RE: Monitoring the "existence" o...Posted by rog57 on June 14, 2013 Guys,
Great, i will try those solutions singly or possibly both.
Regards, Gary
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|