summaryrefslogtreecommitdiff
path: root/src/node_watchdog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_watchdog.h')
-rw-r--r--src/node_watchdog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_watchdog.h b/src/node_watchdog.h
index 1bb4317e33..92a8081047 100644
--- a/src/node_watchdog.h
+++ b/src/node_watchdog.h
@@ -38,12 +38,13 @@ class Watchdog {
void Destroy();
static void Run(void* arg);
+ static void Async(uv_async_t* async, int status);
static void Timer(uv_timer_t* timer, int status);
uv_thread_t thread_;
uv_loop_t* loop_;
+ uv_async_t async_;
uv_timer_t timer_;
- bool timer_started_;
bool thread_created_;
bool destroyed_;
};