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 happen 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!!
Operating System: what are the different ways in which a thread can
Reference No:- TGS0292481

Expected delivery within 24 Hours