Commit 69e6487e authored by pcapriotti's avatar pcapriotti
Browse files

Revert "Refer to Control.Concurrent instead of GHC.Conc"

This reverts commit 6a217ed6.
parent beccc850
...@@ -2143,7 +2143,7 @@ f "2" = 2 ...@@ -2143,7 +2143,7 @@ f "2" = 2
<para>There are two ways to run a program on multiple <para>There are two ways to run a program on multiple
processors: processors:
call <literal>Control.Concurrent.setNumCapabilities</literal> from your call <literal>GHC.Conc.setNumCapabilities</literal> from your
program, or use the RTS <option>-N</option> option.</para> program, or use the RTS <option>-N</option> option.</para>
<variablelist> <variablelist>
...@@ -2176,13 +2176,13 @@ f "2" = 2 ...@@ -2176,13 +2176,13 @@ f "2" = 2
<para>The current value of the <option>-N</option> option <para>The current value of the <option>-N</option> option
is available to the Haskell program is available to the Haskell program
via <literal>Control.Concurrent.getNumCapabilities</literal>, and via <literal>GHC.Conc.getNumCapabilities</literal>, and
it may be changed while the program is running by it may be changed while the program is running by
calling <literal>Control.Concurrent.setNumCapabilities</literal>. calling <literal>GHC.Conc.setNumCapabilities</literal>.
Note: in the current implementation, Note: in the current implementation,
the <option>-N</option> value may only the <option>-N</option> value may only
be <emphasis>increased</emphasis>, not decreased, by be <emphasis>increased</emphasis>, not decreased, by
calling <literal>Control.Concurrent.setNumCapabilities</literal>.</para> calling <literal>GHC.Conc.setNumCapabilities</literal>.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
...@@ -2218,7 +2218,7 @@ f "2" = 2 ...@@ -2218,7 +2218,7 @@ f "2" = 2
<para> <para>
This option is probably only of use for concurrent This option is probably only of use for concurrent
programs that explicitly schedule threads onto CPUs programs that explicitly schedule threads onto CPUs
with <literal>Control.Concurrent.forkOn</literal>. with <literal>GHC.Conc.forkOnIO</literal>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
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