Tool/software: TI-RTOS
Hi ,
I am using cc3200 running tirtos_cc32xx_2_16_01_14 version,
Now here is my problem, When i post a semaphore to a higher priority task from a lower priority Ti-RTOS does not switch to the Higher priority task immediately
Instead it finishes current task and then goes to Higher priority task. Is this the intended behavior ? any work around ?
//low priority task 5
void abc()
{
// do something here
// ........
//
semaphore_post(handle);
// continue doing something here
// ....
// ..
}
// High priority task 12
void xyz()
{
Semaphore_pend(handle, BIOS_WAIT_FOREVER);
// do important thing here
}
Regards
Shashank