星标公众号,让嵌入式知识 “投喂” 不停歇! 大家好,我是杂烩君。本篇整理了FreeRTOS的一些经典问题。 FreeRTOS 有 5 种任务状态。关键点:任务状态不是通过 TCB 中的成员变量存储的,而是通过任务所在的链表隐式表示——在就绪列表中就是就绪态,在延时 ...
In this fourth lesson in the Real-Time Operating System (RTOS) series, you’ll see how to replace the horribly inefficient polling delay with efficient thread blocking. Specifically, in this lesson 25, ...
Issues with proprietary RTOS APIs. How does the POSIX pthread API stack up against proprietary APIs? Thread creation in POSIX. However, each proprietary API impedes embedded development by requiring ...
This fifth lesson on RTOS finally addresses the real-time aspect of the “Real-Time Operating System” name. Specifically, in the video lesson 26, you add a preemptive, priority-based scheduler to the ...