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.37K 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

The X button says to the programme “user wants to close the programme, do what you gotta do to finish up and close, please”. That might include completing any processes that are running, saving data, dumping cache, etc. Anything the programmer put in there. Task manager bypasses all of that and just stops the programme running instantly.

Notice how some programmes know that they weren’t shut down properly? That’s because they include a flag in the normal X button shutdown routine. If the shutdown routing wasn’t run, the flag never gets set.

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