Lines Matching defs:Watchdog
5 // The Watchdog class creates a second thread that can Alarm if a specific
7 // specified at construction time. The Watchdog may be used many times by
9 // The Watchdog is typically used under a debugger, where the stack traces on
10 // other threads can be examined if/when the Watchdog alarms.
14 // to permanently disable the watchdog. Disabled watchdogs don't even spawn
32 class BASE_EXPORT Watchdog {
34 // Constructor specifies how long the Watchdog will wait before alarming.
35 Watchdog(const TimeDelta& duration,
38 virtual ~Watchdog();
40 // Notify watchdog thread to finish up. Sets the state_ to SHUTDOWN.
43 // Returns true if we state_ is JOINABLE (which indicates that Watchdog has
66 explicit ThreadDelegate(Watchdog* watchdog) : watchdog_(watchdog) {
72 Watchdog* watchdog_;
89 DISALLOW_COPY_AND_ASSIGN(Watchdog);