sched.h 293 B

123456789101112131415161718
  1. #pragma once
  2. #include <common/glib.h>
  3. #include <process/process.h>
  4. /**
  5. * @brief 包裹sched_enqueue(),将PCB加入就绪队列
  6. *
  7. * @param pcb
  8. */
  9. void sched_enqueue(struct process_control_block *pcb);
  10. /**
  11. * @brief 包裹sched_cfs(),调度函数
  12. *
  13. */
  14. void sched();
  15. void sched_init();