cancel
Showing results for 
Search instead for 
Did you mean: 

Creating two task with one as realtime and second as idle priority, but as both task execute for say n minutes, program counter does not come into the task again, even you have a infinite for loop in both task.

NMALH
Associate II
 
1 REPLY 1
Sebastiaan
Senior

Hi,

A code example (main() and the 2 threads) would probably help, the current description is insufficient.

If you have a busy-while loop without e.g. OsDelay() in the realtime thread, it's expected that the idle thread will never kick in.

Best regards,

Sebastiaan