#5611: Impossible to terminate a blocked process -----------------------+---------------------------------------------------- Reporter: fano | Owner: nobody Type: bug | Status: new Priority: high | Milestone: R1 Component: - General | Version: R1/alpha1 Keywords: | Blockedby: Platform: All | Blocking: -----------------------+---------------------------------------------------- Comment(by stippi): It depends of course how the application is blocked. Here you have experienced the same block in two different applications, because you were testing playback from UDF mounts. Usually, blocked processes can be killed just fine, but there are certain types of blocks in ther kernel, which make killing impossible. This results from a bug in a kernel component, most likely the UDF add-on, and does not represent the average blocked process. AFA automatic detection of hanged processes goes... this is possible to implement. One way to do it is to regularily ping the application thread (perhaps all window threads as well) with messages that have an expected reply timeout. Also, app_server could expect a reply for the quit message that it sends when the user presses the window close button. If a reply does not arrive within a certain timeout, it could offer to kill the team. Some programs could need to be updated, though, since they may do stuff that appears as blocking, like asking the user to save changes, the user could be navigating a file dialog to save his work, it would be irritating to popup an alert asking to force kill the app right then... -- Ticket URL: <http://dev.haiku-os.org/ticket/5611#comment:1> Haiku <http://dev.haiku-os.org> Haiku - the operating system.