[MacRuby-devel] [MacRuby] #768: Timeout is broken. It seems MacRuby does not dispatch the Thread.

MacRuby ruby-noreply at macosforge.org
Wed Jun 30 04:21:11 PDT 2010


#768: Timeout is broken. It seems MacRuby does not dispatch the Thread.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 Timeout is broken.
 Even if Timeout which I appointed passed, MacRuby's execution is not
 finished.

 {{{
 require 'timeout'

 Timeout::timeout(1) do
   i = 0
   loop do
     i += 1
   end
 end
 }}}

 I think it seems MacRuby does not dispatch the Thread.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/768>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list