[m-rev.] For review: Document parallelism related features.

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Mar 22 16:19:05 AEDT 2010


Hi Paul,

On Mon, 22 Mar 2010, Paul Bone wrote:

> On Sun, Mar 21, 2010 at 05:52:23AM +1100, Julien Fischer wrote:

> > > Index: doc/user_guide.texi
> > > ===================================================================
> > > RCS file: /home/mercury1/repository/mercury/doc/user_guide.texi,v
> > > retrieving revision 1.605
> > > diff -u -p -b -r1.605 user_guide.texi
> > > --- doc/user_guide.texi	15 Mar 2010 05:12:37 -0000	1.605
> > > +++ doc/user_guide.texi	18 Mar 2010 03:09:24 -0000
> > > @@ -5618,19 +5621,34 @@ that associates a lot more context with
> > >  but not both at the same time;
> > >  @samp{mdprof} can profile both time and space at the same time.
> > >
> > > +The parallel execution of Mercury programms can be analyzed with a third
> >
> > s/programms/programs/


Did you fix this one?  (It is helpful if you indicate that you have
addressed each review comment in your response.)

...

> This section now reads:
>
>     @sp 1
>     @item @code{--parallel}
>     @findex --parallel
>     @cindex Parallel execution
>     In low-level C grades this enables support for parallel execution.
>     Parallel execution can be achieved by using either the parallel conjunction
>     operator or the concurrency support provided in the @samp{thread} module of the

Delete the word "provided".

>     standard library.
>     @xref{Goals, parallel conjunction, Goals, mercury_ref, The Mercury
>     Language Reference Manual}, and
>     @xref{thread, the thread module, thread, mercury_library, The Mercury
>     Library Reference Manual}.
>
>     In high-level C grades this enables support for concurrency, which is
>     accessible via the @samp{thread} module in the standard library.
>     The runtime uses POSIX threads to achieve this, therefore it also supports
>     parallel execution.
>
>     The other grades, (Java, IL and Erlang) support concurrency without this
>     option.

I suggest:

      The Java, IL and Erlang grades support concurrency without this option.

>     Parallel execution may also be available depending on the target's runtime.


Could you please post a revised diff once you have addressed the above.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list