ruby-changes:51472
From: normal <ko1@a...>
Date: Sun, 17 Jun 2018 11:56:33 +0900 (JST)
Subject: [ruby-changes:51472] normal:r63682 (trunk): thread_pthread.c: fix non-sleepy timer thread build
normal 2018-06-17 11:56:28 +0900 (Sun, 17 Jun 2018) New Revision: 63682 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63682 Log: 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. Modified files: trunk/thread_pthread.c Index: thread_pthread.c =================================================================== --- thread_pthread.c (revision 63681) +++ thread_pthread.c (revision 63682) @@ -1608,9 +1608,10 @@ rb_thread_create_timer_thread(void) https://github.com/ruby/ruby/blob/trunk/thread_pthread.c#L1608 #endif return; } - +#if USE_SLEEPY_TIMER_THREAD /* validate pipe on this process */ timer_thread_pipe.owner_process = getpid(); +#endif timer_thread.created = 1; } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/