[macruby-changes] [4968] MacRuby/trunk/objc.m
source_changes at macosforge.org
source_changes at macosforge.org
Thu Dec 2 14:32:51 PST 2010
Revision: 4968
http://trac.macosforge.org/projects/ruby/changeset/4968
Author: lsansonetti at apple.com
Date: 2010-12-02 14:32:48 -0800 (Thu, 02 Dec 2010)
Log Message:
-----------
mark Foundation as multithreaded
Modified Paths:
--------------
MacRuby/trunk/objc.m
Modified: MacRuby/trunk/objc.m
===================================================================
--- MacRuby/trunk/objc.m 2010-12-02 22:18:11 UTC (rev 4967)
+++ MacRuby/trunk/objc.m 2010-12-02 22:32:48 UTC (rev 4968)
@@ -750,6 +750,9 @@
assert(m != NULL);
old_imp_isaForAutonotifying = method_getImplementation(m);
method_setImplementation(m, (IMP)rb_obj_imp_isaForAutonotifying);
+
+ // Mark Foundation as multithreaded.
+ [NSThread detachNewThreadSelector:@selector(self) toTarget:[NSThread class] withObject:nil];
}
@interface Protocol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101202/d6376141/attachment.html>
More information about the macruby-changes
mailing list