summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 069c50ed7a..20d0b598cf 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;
}
}