Commit 1cefeee2 authored by AndreasVoellmy's avatar AndreasVoellmy Committed by tibbe

Changed ioManagerCapabilitiesChanged to take no arguments.

ioManagerCapabilitiesChanged now queries getNumCapabilities for the current number of enabled capabilities.
parent 24733b8f
......@@ -2070,9 +2070,7 @@ setNumCapabilities (nat new_n_capabilities USED_IF_THREADS)
// Notify IO manager that the number of capabilities has changed.
rts_evalIO(
&cap,
rts_apply(cap,
&base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure,
rts_mkInt(cap, enabled_capabilities)),
&base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure,
NULL);
rts_unlock(cap);
......
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