1 View

Question : Cancellation of thread occurs only when it reaches a:

Option 1: cancellation point

Option 2: error point

Option 3: virtual point

Option 4: target point


Team Careers360 6th Jan, 2024
Answer (1)
Team Careers360 15th Jan, 2024

Correct Answer: cancellation point


Solution : The correct answer is the cancellation point.

Only when a thread reaches a cancellation point does it end. A cancellation point is the point at which it is safe to terminate a thread while it is still executing. The programmer may specify cancellation points explicitly or implicitly. A thread is always at a cancellation point when it is awaiting input or output or I/O

Know More About

Related Questions

TOEFL ® Registrations 2024
Apply
Accepted by more than 11,000 universities in over 150 countries worldwide
Manipal Online M.Com Admissions
Apply
Apply for Online M.Com from Manipal University
GRE ® Registrations 2024
Apply
Apply for GRE® Test now & save 10% with ApplyShop Gift Card | World's most used Admission Test for Graduate & Professional Schools
View All Application Forms

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books