-
-
Save chrisdickinson/edb96ee141064b1875c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/deps/uv/src/unix/timer.c b/deps/uv/src/unix/timer.c | |
index 57d32f5..1835691 100644 | |
--- a/deps/uv/src/unix/timer.c | |
+++ b/deps/uv/src/unix/timer.c | |
@@ -135,6 +135,9 @@ int uv__next_timeout(const uv_loop_t* loop) { | |
void uv__run_timers(uv_loop_t* loop) { | |
+ static int onoff = 0; | |
+ | |
+ onoff = !onoff; | |
uv_timer_t* handle; | |
while ((handle = RB_MIN(uv__timers, &loop->timer_handles))) { | |
@@ -144,6 +147,7 @@ void uv__run_timers(uv_loop_t* loop) { | |
uv_timer_stop(handle); | |
uv_timer_again(handle); | |
handle->timer_cb(handle, 0); | |
+ fprintf(stderr, onoff ? "." : "!"); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment