[ruby-cvs:70763] normal:r63672 (trunk): thread.c (timeout_prepare): common function

normal at ruby-lang.org normal at ruby-lang.org
Sat Jun 16 17:27:56 JST 2018


normal	2018-06-16 17:27:56 +0900 (Sat, 16 Jun 2018)

  New Revision: 63672

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

  Log:
    thread.c (timeout_prepare): common function
    
    I can't seem to reproduce the maybe-uninitialized warning on
    gcc 7 or 8 on Debian sid (7.3.0-16 / 8-20180425-1 r259628),
    so the guard from r62305 is dropped.
    
    * thread.c (timeout_prepare): hoist out from do_select
      (do_select): ditto
      (rb_wait_for_single_fd): use timeout_prepare

  Modified files:
    trunk/thread.c


More information about the ruby-cvs mailing list