美文网首页
OShomework4

OShomework4

作者: ZoltanJin | 来源:发表于2018-03-22 11:17 被阅读0次
  • 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 中的内容
image.png

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

相关文章

  • OShomework4

    Question 1: In xv6, one process contains only one thread....

网友评论

      本文标题:OShomework4

      本文链接:https://www.haomeiwen.com/subject/khtaqftx.html