Why does ending a task from task manager work better than canceling a program?

771 views

When a computer starts to freeze or operate slowly and doesn’t respond, ending the task(s) from the task manager usually ends the program and the problem. Why does this work better than simply canceling the task with ALT+F4/pressing the cancel button in the window?

In: Technology

26 Answers

Anonymous 0 Comments

I know others already talked detailly about the difference between cleaning up and close the program, and directly yeet the process to oblivion. But another thing is that usually when u need to use the task manager or any OS-level process manager to close a program, its because the program hanged.

In that case, asking the program politely to stop itself will not work as there is no free threads in that process that can handle the “close down the program” callback. Only an outsider (the OS) can directly shut down the process.

Using the factory analogy others used, when every worker in the factory is being unproductive and just shout at each other, adding to the chaos and shout “stop and leave” is not gonna work. Someone has to work from the outside, and probably just burn down the whole place.

But the problem with this is that all the previous work and products that those workers made that havent been shipped out of the factory are all gonna be lost (cuz they all got burned down). Similarly, all the previously done calculation and unsaved progress of applications are going to be lost after being terminated by the task manager. So all you got left after terminating Word is the autosaved version 10 minutes prior.

You are viewing 1 out of 26 answers, click here to view all answers.