mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
05c0c57d51
commit
cc6342fec3
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue