Opened 5 years ago

Last modified 5 years ago

#16245 new enhancement

[Registrar] Add an Interface for Haiku to Detect and Handle Unresponsive Apps

Reported by: CodeforEvolution Owned by: nobody
Priority: high Milestone: Unscheduled
Component: Servers/registrar Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

While any programmer’s dream is to have an application that will run flawlessly, sadly we must come to terms that a program may become stuck in an infinite loop, blocked, etc. In this case, Haiku should provide a mechanism that checks that an app’s main thread and window thread aren’t blocked and are continuing to receive and handle messages.

If an app is blocked, Haiku should give the user the option to A) wait on the application, B) kill it, or C) (optionally) save a core file that could be used for debugging purposes. I feel that the registrar is the server that is most appropriate to handle this task.

Change History (1)

comment:1 by diver, 5 years ago

Interestingly, I've just watched a video https://www.youtube.com/watch?v=003VbFfRlpQ about the same thing :)

Note: See TracTickets for help on using tickets.