Implement application watchdog timer
Unsolved
General and Desktop
-
You can use QTimer to start on a regular basis your watch dog.
One thing you need to be careful of is the event loop. When your application is blocking from some mal-function within a slot routine started by the same event loop, you have lost. The event loop will have no chance to execute your watch dog event.
Either you are using an additional thread or an external application with some communication between those applications or other means to track the state of the application.