Karry Wang  

2013年11月23日

摘要: 3.5 When a process creates a new process using the fork() operation, which of the following state is shared between the parent process and the child process? a. Stack b.Heap c.Shared memory segments答案:c.Shared memory segments.解析:fork一个新的子进程时, 子进程会得到和父进程用户级虚拟地址空间相同的一份拷贝, 包括文本, 数据和bss段, 堆以及用户栈。 所以他... 阅读全文
posted @ 2013-11-23 17:16 Karry Wang 阅读(1645) 评论(0) 推荐(0) 编辑
 
摘要: 3.4The Sun UltraSPARC processor has multiple register sets. Describe whathappens when a context switch occurs if the new context is alreadyloaded into one of the register sets. What happens if the new context isin memory rather than in a register set and all the register sets are inuse?答案: 因为暂时还没找到多 阅读全文
posted @ 2013-11-23 17:10 Karry Wang 阅读(1035) 评论(0) 推荐(0) 编辑