[commit: ghc] master: Refer to Control.Concurrent instead of GHC.Conc (7d7809d)

shelarcy shelarcy at gmail.com
Fri Jan 6 17:05:02 CET 2012


Hi Simon and Ian,

This fixes GHC 7.4.1 RC 1's documentation bug, too.

   http://www.haskell.org/pipermail/cvs-ghc/2011-December/069321.html

Please merge this with bewlow chanage.

   http://www.haskell.org/pipermail/cvs-libraries/2012-January/014785.html

Best Regards,


On Wed, 04 Jan 2012 00:02:22 +0900, Simon Marlow <marlowsd at gmail.com> wrote:
> Repository : ssh://darcs.haskell.org//srv/darcs/ghc
>
> On branch  : master
>
> http://hackage.haskell.org/trac/ghc/changeset/7d7809de3c6e264ae4af92c37da499502fc2fb20
>
>> ---------------------------------------------------------------
>
> commit 7d7809de3c6e264ae4af92c37da499502fc2fb20
> Author: Simon Marlow <marlowsd at gmail.com>
> Date:   Tue Jan 3 11:32:10 2012 +0000
>
>     Refer to Control.Concurrent instead of GHC.Conc
>    Modified version of a patch by shelarcy <shelarcy at gmail.com>
>
>> ---------------------------------------------------------------
>
>  docs/users_guide/using.xml |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
> index 441ad59..b7fabe9 100644
> --- a/docs/users_guide/using.xml
> +++ b/docs/users_guide/using.xml
> @@ -2114,7 +2114,7 @@ f "2"    = 2
>       <para>There are two ways to run a program on multiple
>          processors:
> -        call <literal>GHC.Conc.setNumCapabilities</literal> from your
> +        call <literal>Control.Concurrent.setNumCapabilities</literal> from your
>          program, or use the RTS <option>-N</option> option.</para>
>       <variablelist>
> @@ -2150,13 +2150,13 @@ f "2"    = 2
>             <para>The current value of the <option>-N</option> option
>                is available to the Haskell program
> -              via <literal>GHC.Conc.getNumCapabilities</literal>, and
> +              via <literal>Control.Concurrent.getNumCapabilities</literal>, and
>                it may be changed while the program is running by
> -              calling <literal>GHC.Conc.setNumCapabilities</literal>.
> +              calling <literal>Control.Concurrent.setNumCapabilities</literal>.
>                Note: in the current implementation,
>                the <option>-N</option> value may only
>                be <emphasis>increased</emphasis>, not decreased, by
> -              calling <literal>GHC.Conc.setNumCapabilities</literal>.</para>
> +              calling <literal>Control.Concurrent.setNumCapabilities</literal>.</para>
>  	  </listitem>
>  	</varlistentry>
>        </variablelist>
> @@ -2192,7 +2192,7 @@ f "2"    = 2
>              <para>
>                This option is probably only of use for concurrent
>                programs that explicitly schedule threads onto CPUs
> -              with <literal>GHC.Conc.forkOnIO</literal>.
> +              with <literal>Control.Concurrent.forkOn</literal>.
>              </para>
>            </listitem>
>          </varlistentry>
>
>
>
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc
>


-- 
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/



More information about the Cvs-ghc mailing list