Commit 0daf8598 authored by simonmar's avatar simonmar
Browse files

[project @ 2004-11-22 12:41:20 by simonmar]

threadRunnable: Fix (probably harmless) buglet
parent 2f6e73fc
......@@ -412,7 +412,7 @@ void
threadRunnable ( void )
{
#if defined(RTS_SUPPORTS_THREADS)
if ( !noCapabilities && ANY_WORK_TO_DO() && rts_n_waiting_tasks > 0 ) {
if ( !noCapabilities() && ANY_WORK_TO_DO() && rts_n_waiting_tasks > 0 ) {
signalCondition(&thread_ready_cond);
}
startSchedulerTaskIfNecessary();
......
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