X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FSchedule.h;h=549f555a1178667f4b01add9ce5943b0eb9d49c6;hb=6cec61d14a324285dbb8ce73d4c7215f1f8d6766;hp=7760e364bd83aadf678018fab6567baf1b0e4765;hpb=9dd9e3c4cc170185e5bbdb7b49eb21c553b9b4fc;p=ghc-hetmet.git diff --git a/rts/Schedule.h b/rts/Schedule.h index 7760e36..549f555 100644 --- a/rts/Schedule.h +++ b/rts/Schedule.h @@ -14,7 +14,7 @@ #include "Capability.h" #include "Trace.h" -BEGIN_RTS_PRIVATE +#include "BeginPrivate.h" /* initScheduler(), exitScheduler() * Called from STG : no @@ -23,6 +23,7 @@ BEGIN_RTS_PRIVATE void initScheduler (void); void exitScheduler (rtsBool wait_foreign); void freeScheduler (void); +void markScheduler (evac_fn evac, void *user); // Place a new thread on the run queue of the current Capability void scheduleThread (Capability *cap, StgTSO *tso); @@ -44,7 +45,7 @@ void wakeUpRts(void); StgWord raiseExceptionHelper (StgRegTable *reg, StgTSO *tso, StgClosure *exception); /* findRetryFrameHelper */ -StgWord findRetryFrameHelper (StgTSO *tso); +StgWord findRetryFrameHelper (Capability *cap, StgTSO *tso); /* Entry point for a new worker */ void scheduleWorker (Capability *cap, Task *task); @@ -214,7 +215,7 @@ emptyThreadQueues(Capability *cap) #endif /* !IN_STG_CODE */ -END_RTS_PRIVATE +#include "EndPrivate.h" #endif /* SCHEDULE_H */