In: Computer Science
2.1)
Describe the relationship between an API, the system-call interface, and the operating system.
2.2)
Why is the separation of policy from mechanism an important principle in operation system design and implementation? Please define “policy” and “mechanism” briefly in your discussion.
3. (Chapter 4) Please answer the following questions briefly (Chapter 4, 5 points each, total 10 points)
3.1)
What are two differences between user-level threads and kernel-level threads? Under what circumstances is one type better than the other?
3.2)
Under what circumstances does a multithreaded solution using multiple kernel threads provided better performance than a single-threaded solution on a single-processor system?
Refer to -Operating System Concepts Essentials, 2nd Edition