Concept:
In Operating Systems, deadlock occurs when a set of processes are blocked because each process is holding a resource and waiting for another resource held by another process.
For a deadlock to occur, four necessary conditions must hold simultaneously:
- Mutual Exclusion
- Hold and Wait
- No Preemption
- Circular Wait
The condition described in the question corresponds to the No Preemption condition.
Step 1: Understand the No Preemption condition.
The No Preemption condition states that once a process acquires a resource, the operating system cannot forcibly take it away.
The process must release the resource voluntarily after completing its task.
Step 2: Relate the condition to the question.
The question specifies that a process cannot be preempted from its resource until it completes its task.
This directly matches the definition of the No Preemption condition.
Step 3: Conclusion.
Therefore, the operating system condition ensuring that a resource cannot be forcibly taken away from a process is:
\[
\text{No Preemption}
\]