In a multiprogramming and time-sharing environment, several users share the system si-multaneously.
12. Is the compiler part of the OS? If not, why not?
13. What issues should an OS engineer take into consideration when designing an OS?14. Which of the following instructions should be allowed only in kernel mode:
a. Disable all interrupts
b. Read the time-of-day clock
c. Change the system memory map.
15. What are two differences between user-level threads and kernel-level threads? Under what circumstances is one type better than the other?
16. Describe the actions taken by a kernel to context switch between kernel-level threads.
17. In handling Web client requests, the Web server usually spawns off a thread per request, but not a process per request. Explain why!
18. When suspending (i.e. swapping) a multi-threaded process, all of its threads stop running. Explain why!
19. When performing a context switch, the old process information is
saved. Where does such
information get saved?