This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

os_tsk_delete

hi,

I have some scheduling problems with my application when I 'm deleting task with the fucntion os_tsk_delete in ARTX

My application freeze and when I'm inspecting state of task with µVision3, I can see two thing :
- Sometimes the priority of the task had changed. it is not the priority that i have given when in create the task with os_create_task functions so my application don't running correctly
- The other result is that only scheduler task (highest priority) is running as my TCB's structure has been damaged.

Can I delete a running task ?

What's happened when you delete a task A which had created task B and C ?

thanks for yor help

0