summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-11-01 12:59:01 +0000
committerSimon Marlow <marlowsd@gmail.com>2012-11-01 12:59:01 +0000
commit8703bbcdcc9a47a29bccc4343dcea43868fbbeb6 (patch)
tree5431a0e4e4956aa1233901ca10b6e2f87dbce166 /includes
parent458ee4fe496bf55a827900fe5fd1498dadfb8fb1 (diff)
downloadhaskell-8703bbcdcc9a47a29bccc4343dcea43868fbbeb6.tar.gz
The shape of StgTVar should not depend on THREADED_RTS
By shear luck I think this didn't lead to any actual runtime crashes, but it did cause some problems for debugging.
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/storage/Closures.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/rts/storage/Closures.h b/includes/rts/storage/Closures.h
index fcba1ebeb6..2302b7d2a1 100644
--- a/includes/rts/storage/Closures.h
+++ b/includes/rts/storage/Closures.h
@@ -306,9 +306,7 @@ typedef struct {
StgHeader header;
StgClosure *volatile current_value;
StgTVarWatchQueue *volatile first_watch_queue_entry;
-#if defined(THREADED_RTS)
StgInt volatile num_updates;
-#endif
} StgTVar;
typedef struct {