tag:blogger.com,1999:blog-9319479.post8662818728969540670..comments2024-03-07T15:32:53.014+02:00Comments on Yehuda: Necessary Invention: Stop Processing KeyYehuda Berlingerhttp://www.blogger.com/profile/16038826060312027387noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-9319479.post-85582892045211957482007-08-15T05:51:00.000+03:002007-08-15T05:51:00.000+03:00It's unfortunately far more complicated than that ...It's unfortunately far more complicated than that usually. Every app that waits (blocks) on a network or disk operation would need to be written to handle 'asynchronous interruption' properly. Every program has a bunch of open resources - files, network sockets, etc, which have to be carefully managed. If you interrupt a program then the future of these resources has to be considered. The easiest thing to do would be to have a way to immediately kill a process that has 'hung' (and you can already do this on most operating systems), freeing ALL resources. But of course this terminates the program.<BR/><BR/>So unfortunately there's no generic 'stop waiting and continue' mechanism.<BR/><BR/>If the machine freezes while doing network stuff then you may have a slow DNS lookup problem (perhaps "localhost" isn't resolving?).meowsqueakhttps://www.blogger.com/profile/10559964541118532157noreply@blogger.comtag:blogger.com,1999:blog-9319479.post-56697861924194333412007-08-14T19:19:00.000+03:002007-08-14T19:19:00.000+03:00The quip would be "make sure your keyboard has an ...The quip would be "make sure your keyboard has an 'apple icon button'", but in all honesty, my G5 gets hung now and again too -- even to the point where force quitting doesn't help, or still takes some time to subdue the problem. I'd say it's rare (certainly more rare than my PC), but isn't a complete evasion of the problem :(Gavin Schmitthttps://www.blogger.com/profile/08490611166440023913noreply@blogger.comtag:blogger.com,1999:blog-9319479.post-29098295934958537042007-08-14T17:21:00.000+03:002007-08-14T17:21:00.000+03:00Anon - You may be entirely right.Maybe I'm being t...Anon - You may be entirely right.<BR/><BR/>Maybe I'm being too lazy. I guess I have to devote a bit more time to solving it.<BR/><BR/>YehudaYehuda Berlingerhttps://www.blogger.com/profile/16038826060312027387noreply@blogger.comtag:blogger.com,1999:blog-9319479.post-41226343550272791592007-08-14T16:52:00.000+03:002007-08-14T16:52:00.000+03:00Have you tried having someone look for the cause o...Have you tried having someone look for the cause of the freezes in the first place? Ie. Has you AV suddenly started chewing CPU time.<BR/><BR/>You can do what you want with Process Explorer (from sysinternals)<BR/><BR/>But what you're asking for is akin to having a car that seems to rev for no reason, and then taking it to a mechanic to fit a fuel cutoff switch rather than just fixing the engine.Anonymousnoreply@blogger.com