projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ade3fa1
)
add comment: __thread is not supported by gcc on OS X yet
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 10 Sep 2009 15:21:46 +0000
(15:21 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 10 Sep 2009 15:21:46 +0000
(15:21 +0000)
rts/sm/GCThread.h
patch
|
blob
|
history
diff --git
a/rts/sm/GCThread.h
b/rts/sm/GCThread.h
index
d2459fd
..
ab5aca7
100644
(file)
--- 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;