[MacRuby] #785: Thread.join(limit) is brocken.
#785: Thread.join(limit) is brocken. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… 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/>
#785: Thread.join(limit) is brocken. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 Comment: It looks like it has never been implemented correctly. It should behave normally in r4347. -- Ticket URL: <http://www.macruby.org/trac/ticket/785#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby