[理工] [OS]-多執行緒的問題

看板Grad-ProbAsk作者 (work)時間16年前 (2009/09/28 17:13), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
可以請問一下,關於多執行緒在恐龍書上,有幾行沒有很了解他的意思,是否有人可以幫 忙解釋一下,謝謝。 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
文章代碼(AID): #1Am7ut3X (Grad-ProbAsk)
文章代碼(AID): #1Am7ut3X (Grad-ProbAsk)