2022-10-17 18:40:07 +08:00

24 lines
387 B
C

#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();