[m-rev.] for review: update concurrency library

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Sep 20 17:24:24 AEST 2006


On Wed, 13 Sep 2006, Peter Wang wrote:

> Followup to the patch I posted yesterday.
>
> Estimated hours taken: 1
> Branches: main
>
> extras/concurrency/semaphore.m:
> extras/concurrency/spawn.m:
> 	Update these two modules for the newer parallel execution mechanism
> 	in the low level C grades:
>
> 	- rename MR_schedule to MR_schedule_context;
>
> 	- set MR_ENGINE(MR_eng_this_context) to NULL before calling
> 	  MR_runnext().  MR_do_runnext() now assumes that any context pointed
> 	  to by the Mercury engine can be clobbered or reused.
>
> extras/concurrency/Mmakefile:
> extras/concurrency/Mercury.options:
> 	Disable `--thread-local-engine-base' for spawn.m and semaphore.m as the
> 	hand-written code is not written to cope with that option.
>
> 	Move compiler flags into Mercury.options so they are picked up by
> 	`mmc --make' as well.
>

That look fine.

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