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 userlevel threads and
kernellevel threads. Do you agree with the following recommendations about when to use
userlevel threads and when kernellevel threads?
Why, or why not?
a If a candidate for a thread is a CPUbound
computation, make it a kernellevel thread
if the system contains multiple processors;
otherwise, make it a userlevel thread.
b If a candidate for a thread is an IObound
computation, make it a userlevel thread if
the process containing it does not contain
a kernellevel thread; otherwise, make it a
kernellevel thread.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
