diff options
| author | Simon Marlow <marlowsd@gmail.com> | 2012-11-01 12:59:01 +0000 |
|---|---|---|
| committer | Simon Marlow <marlowsd@gmail.com> | 2012-11-01 12:59:01 +0000 |
| commit | 8703bbcdcc9a47a29bccc4343dcea43868fbbeb6 (patch) | |
| tree | 5431a0e4e4956aa1233901ca10b6e2f87dbce166 | |
| parent | 458ee4fe496bf55a827900fe5fd1498dadfb8fb1 (diff) | |
| download | haskell-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.
| -rw-r--r-- | includes/rts/storage/Closures.h | 2 |
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 { |
