1.
If multiple threads are concurrently searching through a database and one thread returns the result then the remaining threads must be :
Answer: Option 'B'
cancelled
2.
Cancellation point is the point where :
Answer: Option 'B'
the thread can be cancelled safely
3.
When the target thread periodically checks if it should terminate and terminates itself in an orderly manner, it is called :
Answer: Option 'D'
Deferred cancellation
4.
Cancelling a thread asynchronously :
Answer: Option 'B'
may not free each resource
5.
Thread cancellation is :
Answer: Option 'C'
the task of terminating a thread before it has completed
6.
When a web page is loading, and the user presses a button on the browser to stop loading the page :
Answer: Option 'D'
the thread loading the page is cancelled
7.
When one thread immediately terminates the target thread, it is called :
Answer: Option 'A'
Asynchronous cancellation