Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


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

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


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS