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

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -