what are the different ways in which a thread can


What are the different ways in which a thread can be cancelled?

 Cancellation of a target thread may occur in two different scenarios:

  • Asynchronous cancellation: One thread immediately terminates the target thread is known as asynchronous cancellation.
  • Deferred cancellation: The target thread can periodically check if it should terminate, permitting the target thread an opportunity to terminate itself in an orderly fashion.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: what are the different ways in which a thread can
Reference No:- TGS0327441

Expected delivery within 24 Hours