Processes Flashcards
The transition (running -> blocked) of a process p is caused by _____.
the process itself
The transition (running -> ready) of a process p is caused by _____.
the OS
The transition (blocked -> ready) of a process p is caused by _____.
some other process
When a blocked process p is suspended and the resource needed by p becomes available, p is moved to the ready state.
False
When a process p is moved from the current state (running, ready, or blocked) to the suspended state, then upon reactivation, ________.
p is moved to either the ready or the blocked state
it just depends on when the suspension occurred, it can be placed in whatever one it was in
The PCB contains an up-to-date copy of the CPU state of a process p _____ .
when p’s state is ready or blocked