How can the Task Manager in Windows or Force Quit in macOS close frozen, suspended, unresponding programs instantly. What do they do different than clicking the X button in the corner?

1.34K views

How can the Task Manager in Windows or Force Quit in macOS close frozen, suspended, unresponding programs instantly. What do they do different than clicking the X button in the corner?

In: Technology

18 Answers

Anonymous 0 Comments

Everything in that program’s window is under the program’s control. Hitting the X sends an event to the program telling it to commence its shutdown procedure (could be a bunch of cleaning up and stuff it likes to do before it quits). But if the program is hung or unresponsive, it won’t do anything in response to hitting the X. That shutdown part of the program is as frozen as the rest of it.

Using the OS to end the program just kills the program’s entire process from above.

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