Quality RTOS & Embedded Software

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


Loading

how to check if task created

Posted by yukunduan on October 13, 2015

Now,I met one problem. First i created one service task to create five tasks .And the five tasks call the same function.When tasks run over,the service task delete himself. ~~~~ void gvfservetask( void *pvParameters ) { xTaskCreate(gvfdownloadtask,"task0",......); xTaskCreate(gvfdownloadtask,"task1",......); xTaskCreate(gvfdownloadtask,"task2",......); xTaskCreate(gvfdownloadtask,"task3",......); xTaskCreate(gvfdownloadtask,"task4",......); if(alltaskrunover) vTaskDelete(NULL); } void gvfdownloadtask(void *pvParameters) { ... ... vTaskDelete(NULL); } ~~~~ When the first time gvfservetask has beed created, the five gvfdownloadtasks run success.At the second time,it,s still success.At the third time,it,s still success. But when gvfservetask run fourth time,none task has been created!!! And I had check the variables,found no problem. So ,i want to check the gvfdownload_task if existed in the list of taskTCB.


how to check if task created

Posted by rtel on October 14, 2015

Sorry this message didn't appear for such a long time - for some reason it went into the moderation queue. The forum is set such that it should not use the moderation queue, but for some reason this still happens very occassioinally. In any case, I think you were able to receive your answer here: https://sourceforge.net/p/freertos/discussion/382005/thread/a90cb171/


how to check if task created

Posted by yukunduan on October 15, 2015

Yes,thank you.


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


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

Latest News

Version 10.1.0 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