I have been researching process scheduling as part of my studies. In doing so I have been referring to the following information:
According to Abraham Silberschatz, Greg Gagne, and Peter Baer Galvin in; "Operating System Concepts, Ninth Edition ", Chapter 3;
a process is in a ready state when:
The process has all the resources available that it needs to run, but the CPU is not currently working on this process's instructions.
However I have also been informed from lecture notes that:
When the short-term scheduler selects the next process [from the ready state and before using the CPU], the Dispatcher Routine gives it control of the CPU. Before the process can actually be dispatched it must go through a conflicts phase. (so far so good, however it goes on..)
"An aspect of this conflicts phase is the acquisition of resources needed by the new process to execute".
If the process is selected from a ready state by the dispatcher routine and the definition of the ready state is that "The process has all the resources available that it needs to run" then:
why is it necessary for 'An aspect of the conflicts phase to be the acquisition of resources'?
At what point exactly does a process acquire the necessary resources?