summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thread_pthread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 069c50e..20d0b59 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -1608,9 +1608,10 @@ rb_thread_create_timer_thread(void)
#endif
return;
}
-
+#if USE_SLEEPY_TIMER_THREAD
/* validate pipe on this process */
timer_thread_pipe.owner_process = getpid();
+#endif
timer_thread.created = 1;
}
}