From: Simon Marlow Date: Thu, 10 Sep 2009 15:21:46 +0000 (+0000) Subject: add comment: __thread is not supported by gcc on OS X yet X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=bd04809a6475c57250ffebb265efebf13e9493b8 add comment: __thread is not supported by gcc on OS X yet --- diff --git a/rts/sm/GCThread.h b/rts/sm/GCThread.h index d2459fd..ab5aca7 100644 --- a/rts/sm/GCThread.h +++ b/rts/sm/GCThread.h @@ -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;