mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-02-06 03:41:41 +08:00
update 新版技术要点,持续更新中.../技术要点 - 任务.md.
Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
BIN
images/start_hook.png
Normal file
BIN
images/start_hook.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -7,7 +7,7 @@ CosyOS全局只有一个任务队列,为双向循环链表。<br>
|
||||
系统空闲任务一定是任务队列上的最后一个任务(尾节点),其它最低优先级任务(用户空闲任务)都会排列在系统空闲任务之前。<br>
|
||||
CosyOS任务管理器真实的反应了整个任务队列的当前形态。<br>
|
||||
任务ID(TID)是按任务的启动顺序动态分配的(从1开始++),真实的反应了任务的启动顺序。<br>
|
||||
|
||||

|
||||
|
||||
### 任务调度策略
|
||||
CosyOS的任务调度类型包括 **抢占式调度** 、 **时间片轮转调度** 。不同优先级的任务实行抢占式调度,<br>
|
||||
|
||||
Reference in New Issue
Block a user