AnsweredAssumed Answered

_task_create showing unpredictable behavior

Question asked by kishore kumar on Jun 26, 2018
Latest reply on Jun 27, 2018 by Daniel Chen

Hello,

 

   I am using MK61 ( 1 MB flash) micro-controller for my application. 

   I am creating a Main Task , which creates other application tasks.

   There are 8 tasks created other than my Main task. 

   When the 8th (final task) is created, the Main task is getting killed.

   This was confirmed by calling the OS Call "task_get_id_from_name()" from one of the running tasksIt shows '0'.

 

   Can you give some suggestions to see what exactly may be the problem.

Outcomes