#179: Calling Regexp#match from ObjC in a background thread hangs
-------------------------------+--------------------------------------------
 Reporter:  t...@…              |        Owner:  lsansone...@…        
     Type:  defect             |       Status:  closed               
 Priority:  blocker            |    Milestone:  MacRuby 0.6          
Component:  MacRuby            |   Resolution:  fixed                
 Keywords:                     |  
-------------------------------+--------------------------------------------
Changes (by lsansone...@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.6


Comment:

 The problem seems to be fixed in trunk as of r3858. This version of
 MacRuby features thread-safe regexps.

 I had to change the sample code though to use performRubySelector: though.
 Calling some Ruby selectors that have negative arities (like #match) using
 the ObjC ABI does not work.

 {{{
     id match = [regex performRubySelector:@selector(match:) withArguments:
 line, NULL];
 }}}

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

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to