From: simonmar Date: Fri, 22 Apr 2005 11:20:22 +0000 (+0000) Subject: [project @ 2005-04-22 11:20:22 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~704 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=3f9677ec1c1d19667782f85bf0708cba60c903d5;p=ghc-hetmet.git [project @ 2005-04-22 11:20:22 by simonmar] rtsSupportsBoundThreads, isThreadBound: these should return rtsTrue for SMP too. --- diff --git a/ghc/rts/Schedule.c b/ghc/rts/Schedule.c index ed76cb0..aca935b 100644 --- a/ghc/rts/Schedule.c +++ b/ghc/rts/Schedule.c @@ -1958,7 +1958,7 @@ scheduleDoGC( Capability *cap STG_UNUSED ) StgBool rtsSupportsBoundThreads(void) { -#ifdef THREADED_RTS +#if defined(RTS_SUPPORTS_THREADS) return rtsTrue; #else return rtsFalse; @@ -1972,7 +1972,7 @@ rtsSupportsBoundThreads(void) StgBool isThreadBound(StgTSO* tso USED_IN_THREADED_RTS) { -#ifdef THREADED_RTS +#if defined(RTS_SUPPORTS_THREADS) return (tso->main != NULL); #endif return rtsFalse;