Class CProcessWatchdog#

Class Documentation#

class CProcessWatchdog#

Process watchdog class; ends the process when runtime duration has superseded (as is the case when a deadlock has occurred).

Public Functions

inline CProcessWatchdog(int64_t iWatchdogTimeS = 300ll)#

Constructor.

Parameters:

iWatchdogTimeS[in] The duration the watchdog is monitoring before process termination in seconds (default 300s).

inline ~CProcessWatchdog()#

Destructor; cancels the watch thread.