CSE 410 Assignment 4
Spring 2007
Due: In class, Friday 5/18/07
- (Silberschatz 3.1) Describe the differences among short-term, medium-term,
and long-term scheduling.
- (Silberschatz 3.2) Describe the actions taken by a kernel to context-switch
between processes.
- (Silberschatz 4.1) Provide two programming examples in which multithreading
does not provide better performance than a single-threaded solution.
- (Silberschatz 4.2) Describe the actions taken by a thread library to context
switch between user-level threads.
- (Silberschatz 4.3) Under what circumstances does a multithreaded solution
using multiple kernel threads provide better performance than a single-threaded
solution on a single-processor system?
- (Silberschatz 4.4) Which of the following components of program state are
shared across threads in a multithreaded process?
- Register values
- Heap memory
- Global variables
- Stack memory