Commit 43178674 authored by Simon Marlow's avatar Simon Marlow
Browse files

last_free_capability should never be NULL

parent 61d8ad7a
......@@ -357,7 +357,7 @@ moreCapabilities (nat from USED_IF_THREADS, nat to USED_IF_THREADS)
initCapability(&capabilities[i], i);
last_free_capability = NULL;
last_free_capability = &capabilities[0];
debugTrace(DEBUG_sched, "allocated %d more capabilities", to - from);
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