freertos同一优先级
时间: 2023-08-28 18:05:01 浏览: 131
在FreeRTOS中,当没有更高优先级的任务就绪时,同一优先级的任务会共享CPU的使用时间。这意味着这些任务会交替执行,并且任务调度器会选择处于就绪状态下的优先级最高的任务来执行。如果有多个任务处于同一优先级,则每个时钟节拍的中断服务程序中会应用时间片调度算法,轮流执行这些任务。所以,在FreeRTOS中,同一优先级的任务是通过共享CPU的使用时间来实现调度的。 <span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [FreeRTOS初级篇----优先级实验](https://blog.csdn.net/wdsclm937256/article/details/126106890)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [FreeRTOS 编程指南](https://download.csdn.net/download/xuming829/10981350)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [FreeRTOS 任务优先级问题](https://blog.csdn.net/xingyuan1hao/article/details/53769129)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文