Re: [MacRuby] #176: timeout fails to raise a Timeout::Error
#176: timeout fails to raise a Timeout::Error ---------------------------------+------------------------------------------ Reporter: acangiano@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Comment(by lsansonetti@…): I think case 3 is unfixable unless we modify the way {{{1+1 while true}}} is compiled. There is no way to "kill" this expression since it never enters a pthread cancelation point. So in the current context, Thread#raise cannot be deterministic in MacRuby. I am not sure this is important (I think Thread#raise should never be used anyways). If we can make timeout.rb work for most of the case (at least not crash) it's good enough for now, I think. -- Ticket URL: <http://www.macruby.org/trac/ticket/176#comment:8> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby