Project

General

Profile

« Previous | Next » 

Revision fbad2c55

Added by Eric Wong over 7 years ago

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)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e