↑点击上方蓝色字体,关注“嵌入式软件实战派”获得更多精品干货。 “师兄,不好意思,又打扰你一下。” 此时的我刚解了一个bug,正闭目养神缓解一下疲惫的精神。听到妹子在叫我,忽然又精神百倍了。 “没事,你说。” “自从你上次给我讲解了RTOS的 ...
The problem with desynchronizing your code by moving parts of it into different tasks is that many of the resources your software wants to use—certain hardware, data structures in memory, files—can’t ...
In previous articles, we have looked at the multi-tasking model and we have seen that each task is a quasi-independent program. Although tasks in an embedded application have a degree of independence, ...
A plethora of task synchronization mechanisms is out there, from mutexes to messaging systems. From an RTOS perspective, no difference exists between them with respect to synchronization issues, such ...