CSC 553 - Operating Systems

Dr. R. M. Siegfried

Assignment #4 - p. 190-191/4.1, 4.2, 4.5

Due Wednesday, October 4, 2023

4.1

It was pointed out that two advantages of using multiple threads within a process are that (1) less work is involved in creating a new thread within an existing process, and (2) communication among threads within the same process is simplified.

Is it also the case that a mode switch between two threads within the samer process invoves less work than a mode switch between two htreads in different processes?

4.2

In the discussion of ULTs and versus KLTs, it was pointed out that ar disadvantage of ULTs is that when a ULT executes a system class, not only is that threads blocked, but also all of the threads within the process are blocked. Why is that so?

4.5

If a process exits and there are still threads of that process running, will they continue to run?

[Back to the Assignments Index]