Lines Matching refs:watchdog_
83 AutoLock lock(watchdog_->lock_); in ThreadMain()
84 while (DISARMED == watchdog_->state_) in ThreadMain()
85 watchdog_->condition_variable_.Wait(); in ThreadMain()
86 if (SHUTDOWN == watchdog_->state_) in ThreadMain()
88 DCHECK(ARMED == watchdog_->state_); in ThreadMain()
89 remaining_duration = watchdog_->duration_ - in ThreadMain()
90 (TimeTicks::Now() - watchdog_->start_time_); in ThreadMain()
93 watchdog_->condition_variable_.TimedWait(remaining_duration); in ThreadMain()
100 if (last_debugged_alarm_time_ > watchdog_->start_time_) { in ThreadMain()
103 watchdog_->start_time_ += last_debugged_alarm_delay_; in ThreadMain()
104 if (last_debugged_alarm_time_ > watchdog_->start_time_) in ThreadMain()
106 watchdog_->state_ = DISARMED; in ThreadMain()
110 watchdog_->state_ = DISARMED; // Only alarm at most once. in ThreadMain()
112 watchdog_->Alarm(); // Set a break point here to debug on alarms. in ThreadMain()
125 std::string name = watchdog_->thread_watched_name_ + " Watchdog"; in SetThreadName()