-
Cancellation of thread occurs only when it reaches a :
-
- Cancellation point
- Error point
- Virtual point
- Target point
Correct Option: A
Invoking thread cancellation requests cancellation, but actual cancellation depends on thread state. Cancellation only occurs when thread reaches cancellation point which happens only when cancellation is enabled. At the cancellation point, the cancellation request is acted upon and the thread to be terminated is allowed to perform application-specific cleanup processing.