# Lec11 Thread switching (Robert)

准备工作，阅读【1】中7.1\~7.4，阅读【2】【3】。

【1】<https://pdos.csail.mit.edu/6.828/2020/xv6/book-riscv-rev1.pdf>

【2】<https://github.com/mit-pdos/xv6-riscv/blob/riscv/kernel/proc.c>

【3】<https://github.com/mit-pdos/xv6-riscv/blob/riscv/kernel/swtch.S>
