[macruby-changes] [4025] MacRuby/trunk/gc.c

source_changes at macosforge.org source_changes at macosforge.org
Wed May 5 13:06:14 PDT 2010


Revision: 4025
          http://trac.macosforge.org/projects/ruby/changeset/4025
Author:   lsansonetti at apple.com
Date:     2010-05-05 13:06:11 -0700 (Wed, 05 May 2010)
Log Message:
-----------
don't call objc_startCollectorThread() on the bleeding edge

Modified Paths:
--------------
    MacRuby/trunk/gc.c

Modified: MacRuby/trunk/gc.c
===================================================================
--- MacRuby/trunk/gc.c	2010-05-05 03:49:47 UTC (rev 4024)
+++ MacRuby/trunk/gc.c	2010-05-05 20:06:11 UTC (rev 4025)
@@ -1050,7 +1050,9 @@
 Init_PostGC(void)
 {
     if (!gc_disabled) {
+#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
 	objc_startCollectorThread();
+#endif
 	auto_collector_reenable(__auto_zone);
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100505/654e91a2/attachment.html>


More information about the macruby-changes mailing list