Lines Matching defs:Watchdog
42 Watchdog::Watchdog(v8::Isolate* isolate, uint64_t ms, bool* timed_out)
48 OnFatalError("node::Watchdog::Watchdog()", "Failed to initialize uv loop.");
52 Watchdog* w = ContainerOf(&Watchdog::async_, signal);
61 rc = uv_timer_start(&timer_, &Watchdog::Timer, ms, 0);
64 rc = uv_thread_create(&thread_, &Watchdog::Run, this);
69 Watchdog::~Watchdog() {
82 void Watchdog::Run(void* arg) {
83 Watchdog* wd = static_cast<Watchdog*>(arg);
90 // Close the timer handle on this side and let ~Watchdog() close async_
94 void Watchdog::Timer(uv_timer_t* timer) {
95 Watchdog* w = ContainerOf(&Watchdog::timer_, timer);