Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hello
I want create a thread for blink led.
i execute this code :
void vd_app_BlinkChoose_createTask(void)
{
Task_Params taskParams;
// Configure task
Task_Params_init(&taskParams);
taskParams.stack = u8_AppChooseBlinkTaskStack;
taskParams.stackSize = APP_CHOOSE_TASK_STACK_SIZE;
taskParams.priority = 1;
TaskBlink = Task_create(&vd_app_choose_blink_taskFxn, &taskParams,NULL);
}
for stop the thread i execute this code : Task_delete(&TaskBlink);.
But my software fall in runtime error.
i already execute Task_exit(); in my blink thread before execute Task_delete but nothing works.
can you explain me how start and stop and restart ...etc a thread.
Thanks