How can windows task manager close frozen program which we cant by clicking on close button?

1.21K views

How can windows task manager close frozen program which we cant by clicking on close button?

In: 27

58 Answers

Anonymous 0 Comments

Because Windows doesn’t use a Window Manager program like Unix/X does.

A window manager is a process that JUST controls the outer frames of the various windows on screen, not their inner content inside the windows. In a system with a window manager, the window manager process is in charge of things like moving windows, resizing windows, maximizing windows, and (*importantly*) closing windows.

What that means is that when you click the close button to close a program that’s not responding, that program does NOT have the right to say no, nor the right to ignore the request. Because it’s the Window Manager that does it, NOT the unresponsive program. The unresponding program might think it’s still on screen, but it’s not. And the window manager can force-kill it if it’s not reacting, just like the Task Manager does.

In Windows, that’s not the case. The little red X button is responded to BY the program in the window, and NOT by some outer 3rd-party program. So when that program is stuck, it doesn’t react to the little red X button. It doesn’t let you move the window, or minimize it, or maximize it, or resize it. it’s because those things are done by the program that is stuck and not paying attention.

So you have to send them an un-interruptable signal from a third-party outside process that forces the program to die. And that’s what the task manager does.

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