The question I am looking to solve is :
Which state change occurs as a result of non preemptive action
- From WAIT to READY
- From READY to RUNNING
- From RUNNING to READY
- From RUNNING to WAIT
As per my understanding as its a non preemptive action. So it cant be 3,1 But not sure any suggestions or comments ?
The general rule of thumb is that if a process can transition from RUNNING to READY not due to it's actions, then the system is preemptive. So, (3) can only occur in a preemptive system. The rest of the options can occur in non-preemptive systems. Here are examples:
So, options 1,2, and 4 can occur due to non-preempetive actions.