X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FGCThread.h;h=ab5aca72b775b8ab6e55aa0277542b4bbc2ca671;hb=6cf8982ac30be6836a0cdd8be5a6ac1a1a144213;hp=d2459fd96bea680485986a9e551fb9810feacc7c;hpb=9a9803e8dc80ba41bd3e2d31228e64fa6b61060e;p=ghc-hetmet.git 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;