X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FSTM.h;h=dd11bb815449244882b4e5f9f66fcfc0e1eaa63d;hp=495b7631399ee31e310a2946211075b64602ea19;hb=cf5905ea24904cf73a041fd7535e8723a668cb9a;hpb=9a9803e8dc80ba41bd3e2d31228e64fa6b61060e diff --git a/rts/STM.h b/rts/STM.h index 495b763..dd11bb8 100644 --- a/rts/STM.h +++ b/rts/STM.h @@ -40,7 +40,7 @@ #define STM_UNIPROC #endif -BEGIN_RTS_PRIVATE +#include "BeginPrivate.h" /*---------------------------------------------------------------------- @@ -48,7 +48,7 @@ BEGIN_RTS_PRIVATE -------------- */ -void stmPreGCHook(void); +void stmPreGCHook(Capability *cap); /*---------------------------------------------------------------------- @@ -83,13 +83,6 @@ void stmFreeAbortedTRec(Capability *cap, StgTRecHeader *trec); void stmCondemnTransaction(Capability *cap, StgTRecHeader *trec); -/* - * Return the trec within which the specified trec was created (not - * valid if trec==NO_TREC). - */ - -StgTRecHeader *stmGetEnclosingTRec(StgTRecHeader *trec); - /*---------------------------------------------------------------------- Validation @@ -232,7 +225,7 @@ void stmWriteTVar(Capability *cap, /*----------------------------------------------------------------------*/ -END_RTS_PRIVATE +#include "EndPrivate.h" #endif /* STM_H */