183k views
3 votes
Consider the scheduling algorithm in the Solaris operating system for time-sharing threads.a. What is the time quantum (in milliseconds) for a thread with priority 15? With priority 40?b. Assume that a thread with priority 50 has used its entire time quantum without blocking. What new priority will the scheduler assign this thread?c. Assume that a thread with priority 20 blocks for I/O before its time quantum has expired. What new priority will the scheduler assign this thread?

1 Answer

3 votes

Answer and Explanation:

a. Priority 15 will have time quantum of 160ms and the priority 40 will have quantum of 40ms.

b. The new priority which is a lower priority will be 40.

c. The new priority(which is a higher priority will be 52.

User Nimelrian
by
7.6k points