Commit 3949e528 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-04-12 12:24:44 by simonmar]

cleanup
parent cca6aea5
......@@ -212,19 +212,11 @@ releaseCapability( Capability* cap UNUSED_IF_NOT_SMP )
} else {
signalCondition(passTarget);
}
#if defined(SMP)
rts_n_free_capabilities++;
#else
rts_n_free_capabilities = 1;
#endif
IF_DEBUG(scheduler, sched_belch("worker: released capability, passing it"));
} else {
#if defined(SMP)
rts_n_free_capabilities++;
#else
rts_n_free_capabilities = 1;
#endif
// Signal that a capability is available
if (rts_n_waiting_tasks > 0 && ANY_WORK_TO_DO()) {
signalCondition(&thread_ready_cond);
......
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