add comment: __thread is not supported by gcc on OS X yet
authorSimon Marlow <marlowsd@gmail.com>
Thu, 10 Sep 2009 15:21:46 +0000 (15:21 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 10 Sep 2009 15:21:46 +0000 (15:21 +0000)
rts/sm/GCThread.h

index d2459fd..ab5aca7 100644 (file)
@@ -217,6 +217,9 @@ extern gc_thread **gc_threads;
 // we have too few registers available.  In my tests it was worth
 // about 5% in GC performance, but of course that might change as gcc
 // improves. -- SDM 2009/04/03
+//
+// We ought to do the same on MacOS X, but __thread is not
+// supported there yet (gcc 4.0.1).
 
 extern __thread gc_thread* gct;
 #define DECLARE_GCT __thread gc_thread* gct;