#785: Thread.join(limit) is brocken.
----------------------------------+-----------------------------------------
Reporter: watson1...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
When specified limit with Thread.join, MacRuby is waited for limit even if
the thread has finished.
Test Script:
{{{
require 'thread'
t = Thread.new{
sleep 1
}
t.join(10)
}}}
Result of Ruby 1.9.1:
{{{
$ time ruby test.rb
ruby test.rb 0.01s user 0.01s system 2% cpu 1.036 total
}}}
Result of MacRuby Trunk:
{{{
$ time macruby test.rb
macruby test.rb 0.16s user 0.03s system 1% cpu 10.180 total
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/785>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel