Quality RTOS & Embedded Software

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


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 ]    [ Privacy ]    [ Sitemap ]    [ ]


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner