[ruby-cvs:69642] normal:r62461 (trunk): thread.c (double2timespec): adjust to use NULL for infinity

normal at ruby-lang.org normal at ruby-lang.org
Sun Feb 18 12:00:28 JST 2018


normal	2018-02-18 12:00:28 +0900 (Sun, 18 Feb 2018)

  New Revision: 62461

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

  Log:
    thread.c (double2timespec): adjust to use NULL for infinity
    
    Using:
      strace ruby -e 'Thread.new { sleep }.join(Float::INFINITY)'
    
    Will show a difference in futex() syscall args (not that I'd
    ever advocate Float::INFINITY as a Thread#join arg :P)

  Modified files:
    trunk/thread.c


More information about the ruby-cvs mailing list