Interruptible FFI calls with pthread_kill and CancelSynchronousIO. v4
[ghc-hetmet.git] / rts / sm / Scav.h
index e8eab48..699e48c 100644 (file)
  *
  * ---------------------------------------------------------------------------*/
 
+#ifndef SM_SCAV_H
+#define SM_SCAV_H
+
+#include "BeginPrivate.h"
+
 void    scavenge_loop (void);
-rtsBool any_work (void);
-void    scavenge_mutable_list (generation *g);
+void    scavenge_mutable_list (bdescr *bd, generation *gen);
+void    scavenge_capability_mut_lists (Capability *cap);
+
+#ifdef THREADED_RTS
+void    scavenge_loop1 (void);
+void    scavenge_mutable_list1 (bdescr *bd, generation *gen);
+void    scavenge_capability_mut_Lists1 (Capability *cap);
+#endif
+
+#include "EndPrivate.h"
+
+#endif /* SM_SCAV_H */
+