#176: timeout fails to raise a Timeout::Error
---------------------------------+------------------------------------------
Reporter: acangi...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
Description changed by martinlagarde...@…:
Old description:
> 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
New description:
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#comment:1>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel