Hi everyone, It appears there is a bug in os_tsk_delete function in MDK-ARM v3.50. If a task with an OS_TID = <some number N> tries to delete a previous task with OS_TID = N-1, the task with OS_TID=N will be deleted instead, and OS_TID=N-1 will still be running. The behavior was reproduced by Keil tech support in the US last week, but still no response from the developers.
It is RL-RTX that comes with MDK-ARM v3.50.
Is it ARM or Cortex-M library?
Cortex-M3