657 views
0 votes
0 votes
If we are using non-preemptive CPU scheduling then can there be process state transition from running to ready state?

3 Answers

2 votes
2 votes
If we are using non preemptive cpu scheduling  then from running state to ready state there will not be any direct way to go but it is possible through the blocked state . If some I/O interruption occur then that particular process will get blocked and then once the required I/O operation is completed then it will be moved to the ready state again.
0 votes
0 votes

In non-preemptive CPU scheduling there is no process state transition from Running State to Ready State.

Because no process can be forcibly made to exit from the CPU until it reaches its completion, Finished State. 

In preemptive CPU scheduling there is a process state transition from Running State to Ready State where a process is forced to exit the CPU and wait in the Ready Queue.

 

Related questions

1 votes
1 votes
1 answer
1
iarnav asked Jan 12, 2022
402 views
Does non preemptive CPU scheduling needs hardware support.kindly explain.
1 votes
1 votes
1 answer
3
Ram Ahuja asked Feb 13, 2019
2,765 views
In which of the following case CPU utilization will be higher?(a) If all the processes are I/O bound(b) Is all the processes are equally CPU bound and I/O bound(c) If all...
1 votes
1 votes
1 answer
4
Nandkishor3939 asked Jan 17, 2019
2,778 views
I have solved this but not getting the answer…. will any one verify its correctness plzThank you:)