X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FSchedule.h;h=5f669b3d83a7b33bd98bcf5b9b6868903953c313;hb=c55eee3add067dd0372ed8eede64b84791f7a9b9;hp=1214fd87840a365ce9b695895c6feee3d9b506c9;hpb=a5288c551349a0adab0d931a429b10a096d9444d;p=ghc-hetmet.git diff --git a/rts/Schedule.h b/rts/Schedule.h index 1214fd8..5f669b3 100644 --- a/rts/Schedule.h +++ b/rts/Schedule.h @@ -14,7 +14,7 @@ #include "Capability.h" #include "Trace.h" -#pragma GCC visibility push(hidden) +BEGIN_RTS_PRIVATE /* initScheduler(), exitScheduler() * Called from STG : no @@ -126,7 +126,10 @@ void performPendingThrowTos (StgTSO *); * NOTE: tso->link should be END_TSO_QUEUE before calling this macro. * ASSUMES: cap->running_task is the current task. */ -INLINE_HEADER void +EXTERN_INLINE void +appendToRunQueue (Capability *cap, StgTSO *tso); + +EXTERN_INLINE void appendToRunQueue (Capability *cap, StgTSO *tso) { ASSERT(tso->_link == END_TSO_QUEUE); @@ -241,7 +244,7 @@ emptyThreadQueues(Capability *cap) #endif /* !IN_STG_CODE */ -#pragma GCC visibility pop +END_RTS_PRIVATE #endif /* SCHEDULE_H */