diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-09-10 15:21:46 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-09-10 15:21:46 +0000 |
commit | bd04809a6475c57250ffebb265efebf13e9493b8 (patch) | |
tree | 7c206df24b616d5c7103ec139b0628a2565c4209 /rts | |
parent | ade3fa142f044ff00f1a5839c187f32213a48a41 (diff) | |
download | haskell-bd04809a6475c57250ffebb265efebf13e9493b8.tar.gz |
add comment: __thread is not supported by gcc on OS X yet
Diffstat (limited to 'rts')
-rw-r--r-- | rts/sm/GCThread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/sm/GCThread.h b/rts/sm/GCThread.h index d2459fd96b..ab5aca72b7 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; |