Ticket #785 (closed defect: fixed)
Thread.join(limit) is brocken.
| Reported by: | watson1978@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 0.7 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.

