[MacRuby-devel] [MacRuby] #179: Calling Regexp#match from ObjC in a background thread hangs
MacRuby
ruby-noreply at macosforge.org
Wed Mar 24 17:10:34 PDT 2010
#179: Calling Regexp#match from ObjC in a background thread hangs
-------------------------------+--------------------------------------------
Reporter: tjw@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: blocker | Milestone: MacRuby 0.6
Component: MacRuby | Resolution: fixed
Keywords: |
-------------------------------+--------------------------------------------
Changes (by lsansonetti@…):
* 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/>
More information about the MacRuby-devel
mailing list