Question: In the kill function we inspect a processes state before we finalize the killing of a process. Why? Group of answer choices A terminated suspended
In the kill function we inspect a processes state before we finalize the killing of a process. Why?
Group of answer choices
A terminated suspended process must be resumed before being terminated.
A terminated ready process needs to be removed from the ready list
A terminated sleeping process needs to be removed from the sleep queue.
A terminated waiting process needs to increment the semaphore it was waiting on
Group of answer choices
A process may block if and only if restoremask is run.
A processes pid is stored in currpid if and only if its state is set to running PRCURR
A process is on the sleep queue if and only if its state is set to blocked PRSLEEP or PRRECTIM
A process is on the ready list if and only if its state is set to ready PRREADY
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
