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段, 堆以及用户栈。 所以他... 阅读全文
摘要:
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?答案: 因为暂时还没找到多 阅读全文
|
Copyright © 2024 Karry Wang
Powered by .NET 9.0 on Kubernetes |