8 #ifndef STALLEDEVENTMONITOR_H_ 9 #define STALLEDEVENTMONITOR_H_ 33 using extends::extends;
53 this,
"EventTimeout", 600,
"Number of seconds allowed to process a single event (0 to disable the check)."};
55 "Number timeouts before aborting the execution (0 means never abort)."};
65 #endif // STALLEDEVENTMONITOR_H_
StatusCode stop() override
Stop the watchdog thread (after the event loop).
Implementation of property with value of concrete type.
Gaudi::Property< unsigned int > m_eventTimeout
std::unique_ptr< WatchdogThread > m_watchdog
Pointer to the watchdog thread that checks for the event timeout.
void handle(const Incident &) override
Notify the watchdog thread for a new event.
Gaudi::Property< bool > m_stackTrace
StatusCode start() override
Start the watchdog thread (before entering the event loop).
Service that monitor the time taken by processing of single events using a separate thread...
SmartIF< IIncidentSvc > m_incidentSvc
Pointer to the incident service.
This class is used for returning status codes from appropriate routines.
StatusCode initialize() override
Initialization of the service.
Simple class for asynchronous check of time-out.
Base class used to extend a class implementing other interfaces.
Base class for all Incidents (computing events).
StatusCode finalize() override
Finalization of the service.
The interface implemented by the IncidentSvc service.
Gaudi::Property< int > m_maxTimeoutCount