projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fix in the new HscMain code.
[ghc-hetmet.git]
/
ghc
/
includes
/
Closures.h
diff --git
a/ghc/includes/Closures.h
b/ghc/includes/Closures.h
index
152213b
..
3df208c
100644
(file)
--- a/
ghc/includes/Closures.h
+++ b/
ghc/includes/Closures.h
@@
-356,7
+356,7
@@
typedef struct {
StgHeader header;
StgClosure *volatile current_value;
StgTVarWaitQueue *volatile first_wait_queue_entry;
StgHeader header;
StgClosure *volatile current_value;
StgTVarWaitQueue *volatile first_wait_queue_entry;
-#if defined(SMP)
+#if defined(THREADED_RTS)
StgInt volatile num_updates;
#endif
} StgTVar;
StgInt volatile num_updates;
#endif
} StgTVar;
@@
-367,7
+367,7
@@
typedef struct {
StgTVar *tvar;
StgClosure *expected_value;
StgClosure *new_value;
StgTVar *tvar;
StgClosure *expected_value;
StgClosure *new_value;
-#if defined(SMP)
+#if defined(THREADED_RTS)
StgInt num_updates;
#endif
} TRecEntry;
StgInt num_updates;
#endif
} TRecEntry;