123456789101112131415161718192021222324 |
- #pragma once
- #include <common/glib.h>
- #include <process/process.h>
- /**
- * @brief 包裹sched_enqueue(),将PCB加入就绪队列
- *
- * @param pcb
- */
- void sched_enqueue(struct process_control_block *pcb);
- /**
- * @brief 包裹sched_cfs(),调度函数
- *
- */
- void sched();
- void sched_init();
- /**
- * @brief 当时钟中断到达时,更新时间片
- *
- */
- void sched_update_jiffies();
|