Windows 7 now "tries to restore the program" if it hangs
-
I have been using Windows 7 at work now for almost a year, but i have only just come across what seems to be an interesting feature. When an application hung today, i got the standard message box telling me so and giving me the option to kill the program or wait for it to respond. But a surprising third option was also available - "Try to restore the program". I selected that option and it actually worked, the application continued without crashing. Ok, the reason why it hung was most likely a network delay between the client (the app) and the server, and waiting would have fixed the problem. But it is still kind of cool. A quick google search found this article, but it does not explain what that option actually does or how it works. Does anyone know? I suppose it has something to do with the message queue, since most GUI applications do processing in the callback proc. But how does it know what bit of code to "cancel"?
[Window Detective] - Windows UI spy utility