#176: timeout fails to raise a Timeout::Error
---------------------------------+------------------------------------------
 Reporter:  [EMAIL PROTECTED]          |       Owner:  [EMAIL PROTECTED]        
     Type:  defect               |      Status:  new                  
 Priority:  major                |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------
 timeout should raise a Timeout::Error with message "execution expired"
 when the time is up. Right now
 it doesn't.

 For example, you can try the following:

 require 'timeout'

 timeout(2) do
   1+1 while true
 end

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

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to