Question:

The target thread periodically checks whether it should terminate, allowing it an opportunity to terminate itself in an orderly fashion. This is known as:

Show Hint

Deferred cancellation is safer because the thread gets a chance to release resources before terminating.
Updated On: Jun 5, 2026
  • Synchronous Cancellation
  • Asynchronous Cancellation
  • Delayed Cancellation
  • Deferred Cancellation
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Concept: Thread cancellation refers to terminating a thread before it completes execution. There are two main types:
Asynchronous Cancellation: Thread is terminated immediately.
Deferred Cancellation: Thread periodically checks for cancellation request and terminates safely.

Step 1:
Analyze given statement. The statement says:
• Thread checks periodically
• Terminates itself
• Ensures orderly termination

Step 2:
Compare with concepts.
• Asynchronous → immediate termination (not safe)
• Deferred → controlled termination (safe)

Step 3:
Conclusion. This clearly describes Deferred Cancellation. \[ \boxed{(4)} \]
Was this answer helpful?
0
0

Top CUET PG Operating Systems Questions

View More Questions