If we preempt a resource from a process, the process cannot continue with its…
2021
If we preempt a resource from a process, the process cannot continue with its normal execution and it must be:
- A.
aborted
- B.
rolled back
- C.
terminated
- D.
queued
- E.
Question not attempted
Attempted by 241 students.
Show answer & explanation
Correct answer: B
When a resource is preempted from a process, the process cannot continue with its normal execution because it no longer has the required resource. The process must be placed in a waiting state until the resource becomes available again. This is typically done by queuing the process in a ready queue or a resource wait queue. The process will resume execution only when the resource is reassigned or released. This mechanism ensures fair resource allocation and prevents deadlock in multitasking systems.