[ruby-cvs:72818] normal:r65718 (trunk): thread.c (rb_thread_fd_select): favor rb_thread_* when no FDs

normal at ruby-lang.org normal at ruby-lang.org
Wed Nov 14 12:52:28 JST 2018


normal	2018-11-14 12:52:28 +0900 (Wed, 14 Nov 2018)

  New Revision: 65718

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65718

  Log:
    thread.c (rb_thread_fd_select): favor rb_thread_* when no FDs
    
    select() is a crap API for even sleeping on sigwait_fd, so favor
    the native_sleep-based functions when there are no FDs, instead.

  Modified files:
    trunk/thread.c


More information about the ruby-cvs mailing list