[MacRuby-devel] [macruby] #16: ^C (SIGINT) doesn't interrupt the cocoa runloop

macruby ruby-noreply at macosforge.org
Thu May 22 22:54:19 PDT 2008


#16: ^C (SIGINT) doesn't interrupt the cocoa runloop
-----------------------------------+----------------------------------------
 Reporter:  lsansonetti at apple.com  |        Owner:  lsansonetti at apple.com
     Type:  defect                 |       Status:  reopened             
 Priority:  blocker                |    Milestone:  MacRuby 0.2          
Component:  MacRuby                |   Resolution:                       
 Keywords:                         |  
-----------------------------------+----------------------------------------
Comment (by lsansonetti at apple.com):

 After a quick investigation, it seems that the signal is intercepted by
 the default handler but not forwarded to YARV because the runloop blocks
 the main thread without calling RUBY_VM_CHECK_INTS. This theoretically be
 fixed if we set up a timer in the main run loop that checks for
 interruptions.

-- 
Ticket URL: <http://ruby.macosforge.org/trac/ticket/16#comment:11>
macruby <http://ruby.macosforge.org/>


More information about the MacRuby-devel mailing list