From 3f9677ec1c1d19667782f85bf0708cba60c903d5 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 22 Apr 2005 11:20:22 +0000 Subject: [PATCH] [project @ 2005-04-22 11:20:22 by simonmar] rtsSupportsBoundThreads, isThreadBound: these should return rtsTrue for SMP too. --- ghc/rts/Schedule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.10.4