[haiku-bugs] [Haiku] #16245: [Registrar] Add an Interface for Haiku to Detect and Handle Unresponsive Apps

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 12 Jun 2020 03:19:08 -0000

#16245: [Registrar] Add an Interface for Haiku to Detect and Handle Unresponsive
Apps
-------------------------------+-----------------------------
 Reporter:  CodeforEvolution   |       Owner:  nobody
     Type:  enhancement        |      Status:  new
 Priority:  high               |   Milestone:  Unscheduled
Component:  Servers/registrar  |     Version:  R1/Development
 Keywords:                     |  Blocked By:
 Blocking:                     |    Platform:  All
-------------------------------+-----------------------------
 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.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16245>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: