[MacRuby] #493: signals cannot be intercepted
#493: signals cannot be intercepted -----------------------------------+---------------------------------------- Reporter: lsansonetti@… | Owner: martinlagardette@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Currently MacRuby doesn't allow you to catch signals (via the Kernel#trap method). This should be implemented in the final 0.5 release. -- Ticket URL: <http://www.macruby.org/trac/ticket/493> MacRuby <http://macruby.org/>
#493: signals cannot be intercepted -----------------------------------+---------------------------------------- Reporter: lsansonetti@… | Owner: martinlagardette@… Type: defect | Status: assigned Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Changes (by martinlagardette@…): * status: new => assigned -- Ticket URL: <http://www.macruby.org/trac/ticket/493#comment:2> MacRuby <http://macruby.org/>
#493: signals cannot be intercepted -----------------------------------+---------------------------------------- Reporter: lsansonetti@… | Owner: martinlagardette@… Type: defect | Status: assigned Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Comment(by martinlagardette@…): Signals are now partially implemented in r3338, with some limitations: - Raising an exception within a signal handler will not work - Ruby doesn't handle any signal by default, except SIGBUS, SIGSEGV, SIGPIPE, and SIGCHLD -- Ticket URL: <http://www.macruby.org/trac/ticket/493#comment:3> MacRuby <http://macruby.org/>
#493: signals cannot be intercepted -----------------------------------+---------------------------------------- Reporter: lsansonetti@… | Owner: martinlagardette@… Type: defect | Status: assigned Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Comment(by ernest.prabhakar@…): Great, mspec/bin/mspec -B spec/macruby.mspec spec/macruby/core/gcd/source_spec.rb now seems to run properly. (versus failing randomly every few runs). Please check against it if you make further changes. :-) -- Ticket URL: <http://www.macruby.org/trac/ticket/493#comment:4> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby