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

Paul Bone pbone at csse.unimelb.edu.au
Mon Mar 22 22:44:02 AEDT 2010


On Mon, Mar 22, 2010 at 10:40:43PM +1100, Julien Fischer wrote:
> 
> On Mon, 22 Mar 2010, Paul Bone wrote:
> 
> > > > @@ -7860,6 +7923,35 @@ or for backtrackable destructive update.
> > > >  This option is only supported by the C back-ends.
> > > >
> > > >  @sp 1
> > > > + at item @code{--parallel}
> > > > + at findex --parallel
> > > > + at 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 in the @samp{thread} module of the
> > > > +standard library.
> > > > + at xref{Goals, parallel conjunction, Goals, mercury_ref, The Mercury
> > > > +Language Reference Manual}, and
> > > > + at 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.
> > >
> > > It may also support parallel execution of threads -- it wont't if I am
> > > using a single core machine.
> >
> > The same goes for the asm_fast.gc.par grade, yet we say it enables parallel
> > execution.  I've changed this as you've suggested but feel that it's being
> > pedantic.
> 
> Pedantic?!? On this list? Never!
> 
> You can go ahead and commit this now.  Once the changes are included in
> the ROTD you should annoucce the threadscope support on the webpage as
> well.

Thanks. *phew*

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20100322/31315fe5/attachment.sig>


More information about the reviews mailing list