This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

tsk_sleep() called from a task is not working. (DSP/BIOS)

hi.

my target is tci6487 symmetric little endian simulator.

i created simple DSP/BIOS program which the different tasks synchronize to each other.

here is the code.both the tasks are given task priority of 1.

 

Void main()

{

//nothing

}

void task1()

{

         for(;;)

         {

                  LOG_printf(&trace,"running in task 1");

                  tsk_sleep(5);

         }

}

 

void task2()

{

         for(;;)

         {

                  LOG_printf(&trace,"running in task 2");

                  tsk_sleep(5);

         }

}