/* -----------------------------------------------------------------------------
*
- * (c) The GHC Team 1998-2006
+ * (c) The GHC Team 1998-2008
*
* Generational garbage collector
*
extern nat mutlist_MUTVARS, mutlist_MUTARRS, mutlist_MVARS, mutlist_OTHERS;
#endif
-extern void markSomeCapabilities (evac_fn evac, void *user, nat i0, nat delta);
-
#ifdef THREADED_RTS
extern SpinLock gc_alloc_block_sync;
#endif
#if defined(PROF_SPIN) && defined(THREADED_RTS)
-StgWord64 whitehole_spin;
+extern StgWord64 whitehole_spin;
#endif
+void gcWorkerThread (Capability *cap);
+void initGcThreads (void);
+void waitForGcThreads (Capability *cap);
+
#define WORK_UNIT_WORDS 128
#endif /* GC_H */