Module os::task::manager

source ·
Expand description

Implementation of TaskManager

It is only used to manage processes and schedule process based on ready queue. Other CPU process monitoring functions are in Processor.

Structs§

  • PID2PCB instance (map of pid to pcb)
  • TASK_MANAGER instance through lazy_static!
  • A array of TaskControlBlock that is thread-safe

Functions§