Quality RTOS & Embedded Software

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




Loading

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


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




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

Latest News

FreeRTOS kernel V10 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