Commit 3f9677ec authored by simonmar's avatar simonmar

[project @ 2005-04-22 11:20:22 by simonmar]

rtsSupportsBoundThreads, isThreadBound: these should return rtsTrue
for SMP too.
parent b0cfcc18
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment