summaryrefslogtreecommitdiff
path: root/rts/sm/GC.h
diff options
context:
space:
mode:
authorSimon Marlow <simonmarhaskell@gmail.com>2008-04-16 21:54:05 +0000
committerSimon Marlow <simonmarhaskell@gmail.com>2008-04-16 21:54:05 +0000
commit34d0fee7fa3f29069c9a84df404182726f61b367 (patch)
tree3e5e4509b0b90dc824dedaa4c4038a8773252155 /rts/sm/GC.h
parent64d2f63295d25b55056c5c4698fcdb37150fbe05 (diff)
downloadhaskell-34d0fee7fa3f29069c9a84df404182726f61b367.tar.gz
Specialise evac/scav for single-threaded, not minor, GC
So we can parallelise minor collections too. Sometimes it's worth it.
Diffstat (limited to 'rts/sm/GC.h')
-rw-r--r--rts/sm/GC.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/sm/GC.h b/rts/sm/GC.h
index 01c6024266..612da64bf2 100644
--- a/rts/sm/GC.h
+++ b/rts/sm/GC.h
@@ -172,6 +172,7 @@ typedef struct gc_thread_ {
extern nat N;
extern rtsBool major_gc;
+extern nat n_gc_threads;
extern gc_thread **gc_threads;
register gc_thread *gct __asm__("%rbx");