Quality RTOS & Embedded Software

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




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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists