作者work76 (work)
看板Grad-ProbAsk
标题[理工] [OS]-多执行绪
时间Mon Sep 28 17:13:26 2009
可以请问一下,关於多执行绪在恐龙书上,有几行没有很了解他的意思,是否有人可以帮
忙解释一下,谢谢。
Assuming that the threads are part of the same larger process, the kernel
needs to write the program counter, register set and stack of the outgoing
thread to a backing store, and switch to point to the PCB of the incoming
thread (to look at the new values in the PC, register and stack).
when performing a context switch between processes, we must update additional
information including the code block, the file pointers, the memory.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.137.50.202