课前准备

  1. 阅读第五章 进程调度,直到sleep and wake up
  2. 阅读xv6代码中的proc.cswtch.S

摘要

  1. 进程调度

    yield() --> sched() --> swtch() --> scheduler() --> swtch()
    
  2. sleep, wakeup实现

  3. 管道pipe实现

  4. wait, exit, kill实现

results matching ""

    No results matching ""