Home
last modified time | relevance | path

Searched refs:watchdog_ (Results 1 – 2 of 2) sorted by relevance

/external/chromium/base/threading/
Dwatchdog.cc83 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()
[all …]
Dwatchdog.h59 explicit ThreadDelegate(Watchdog* watchdog) : watchdog_(watchdog) { in ThreadDelegate()
65 Watchdog* watchdog_; variable