In ________, one thread immediately terminates the target thread.
2018
In ________, one thread immediately terminates the target thread.
- A.
Asynchronous cancellation
- B.
Synchronous cancellation
- C.
Deferred cancellation
- D.
Both deferred and asynchronous cancellation
Attempted by 180 students.
Show answer & explanation
Correct answer: A
Asynchronous cancellation allows one thread to immediately terminate another without waiting for specific execution points. Deferred cancellation requires the target thread to check periodically, which does not match the immediate termination described in the question.