[MacRuby] #1372: Exceptions thrown inside dispatch queue blocks propagate as uncaught objective-c exceptions

MacRuby ruby-noreply at macosforge.org
Wed Aug 3 13:18:29 PDT 2011


#1372: Exceptions thrown inside dispatch queue blocks propagate as uncaught
objective-c exceptions
------------------------------------+---------------------------------------
 Reporter:  mrada@…                 |       Owner:  lsansonetti@…        
     Type:  defect                  |      Status:  new                  
 Priority:  blocker                 |   Milestone:                       
Component:  MacRuby                 |    Keywords:  reduction            
------------------------------------+---------------------------------------

Comment(by eloy.de.enige@…):

 From
 http://developer.apple.com/library/mac/#documentation/Performance/Reference/GCD_libdispatch_Ref/Reference/reference.html:

 {{{
 GCD is a C level API; it does not catch exceptions generated by higher
 level languages. Your application must catch all exceptions before
 returning from a block submitted to a dispatch queue.
 }}}

 So I guess MacRuby does the same, might be a performance issue.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1372#comment:1>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list