mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-09 15:26:47 +00:00
24 lines
387 B
C
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(); |