I'm modifying some functionalities (mainly scheduling) of uCos-ii.
And I found out that OSTaskDel function does nothing when it is called by ISR.
Though I learned some basic features of OS, I really don't understand why that should be prohibited.
All it does is withrawl from readylist and release of acquired resources like TCB or semaphores...
Is there any reason for them to be banned while handling interrupt?
Generally, you cannot do a few things in ISRs:
If you do any of the above in an ISR, you'll have a deadlock.
OSTaskDel()
is probably doing some of those things.