Question: An OS supports both user - level threads and kernel - level threads. Do you agree with the following recommendations about when to use user

An OS supports both user-level threads and
kernel-level threads. Do you agree with the following recommendations about when to use
user-level threads and when kernel-level threads?
Why, or why not?
a. If a candidate for a thread is a CPU-bound
computation, make it a kernel-level thread
if the system contains multiple processors;
otherwise, make it a user-level thread.
b. If a candidate for a thread is an I/O-bound
computation, make it a user-level thread if
the process containing it does not contain
a kernel-level thread; otherwise, make it a
kernel-level thread.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!