diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-17 02:56:28 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-17 02:56:28 +0000 |
commit | b833d3a3dde1040690c0808f2b9e65342cce2350 (patch) | |
tree | 876d8d60e35996f8471b33e0c7b643ca1f252ab2 /thread_pthread.c | |
parent | 36f26915694c279e937c7b07933a77da45b1b702 (diff) | |
download | ruby-b833d3a3dde1040690c0808f2b9e65342cce2350.tar.gz |
thread_pthread.c: fix non-sleepy timer thread build
I guess everybody has poll() and fcntl() nowadays, as
the non-sleepy timer thread build has been broken for
years, now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 3 |
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; } } |