Don't understand the source code of uCOS in task delete -


recently reading source code of ucos-ii know how system manage multitasks, while in function ostaskdel() ,the codes below hard understand

os_exit_critical();  os_dummy(); os_enter_critical(); 

why exit critical , reenter critical, ok delete these code? os_dummy() function empty function.many helping me.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -