-
Question 1: In xv6, one process contains only one thread. If we allow one process contains multiple thread, which state of the original PCB (process control block) should be per-thread and which should be per-process?
进程和线程
所以在 PCB 中的内容

其中 Per Thread 的有:stack、PC、registers
Per Process 的有:Process state、cpu scheduling info、Momory-management info、Accounting info 和 I/O status info。
网友评论