diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-10-31 13:07:18 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-10-31 13:07:18 +0000 |
commit | f2ca6deece1ed1724efdd6d2293dc7642059b2f2 (patch) | |
tree | 7f08b2b0e7043568bbf9f02dad6e2da7a970efe1 /includes | |
parent | d5bd3e829c47c03157cf41cad581d2df44dfd81b (diff) | |
download | haskell-f2ca6deece1ed1724efdd6d2293dc7642059b2f2.tar.gz |
Initial parallel GC support
eg. use +RTS -g2 -RTS for 2 threads. Only major GCs are parallelised,
minor GCs are still sequential. Don't use more threads than you
have CPUs.
It works most of the time, although you won't see much speedup yet.
Tuning and more work on stability still required.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/ClosureTypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/ClosureTypes.h b/includes/ClosureTypes.h index b7bebd6c6b..8247a1516f 100644 --- a/includes/ClosureTypes.h +++ b/includes/ClosureTypes.h @@ -93,6 +93,7 @@ #define ATOMICALLY_FRAME 69 #define CATCH_RETRY_FRAME 70 #define CATCH_STM_FRAME 71 -#define N_CLOSURE_TYPES 72 +#define WHITEHOLE 72 +#define N_CLOSURE_TYPES 73 #endif /* CLOSURETYPES_H */ |