In ________, one thread immediately terminates the target thread.

2018

In ________, one thread immediately terminates the target thread.

  1. A.

    Asynchronous cancellation

  2. B.

    Synchronous cancellation

  3. C.

    Deferred cancellation

  4. 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.

Explore the full course: Up Lt Grade Assistant Teacher 2025