Answer:
Thread cancellation is the task of terminating a thread before it has completed.
Step-by-step explanation:
In computers and technology, the concept of thread cancellation explains how a thread can be stopped while it is still in the process of execution.
It can also be done in such a way that it checks at intervals if it can safely cancel itself before it then proceeds with the cancellation.