how to check if task created

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(gvf_download_task,”task0″,……); xTaskCreate(gvf_download_task,”task1″,……); xTaskCreate(gvf_download_task,”task2″,……); xTaskCreate(gvf_download_task,”task3″,……); xTaskCreate(gvf_download_task,”task4″,……); if(all_task_run_over) vTaskDelete(NULL); } void gvf_download_task(void *pvParameters) { … … vTaskDelete(NULL); } ~~~~ When the first time gvf_serve_task has beed created, the five gvf_download_tasks run success.At the second time,it,s still success.At the third time,it,s still success. But when gvf_serve_task run fourth time,none task has been created!!! And I had check the variables,found no problem. So ,i want to check the gvf_download_task if existed in the list of taskTCB.

how to check if task created

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

Yes,thank you.