[m-rev.] for review: thread safe mutables (part 1)

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Aug 22 19:42:28 AEST 2006


On Mon, 21 Aug 2006, Julien Fischer wrote:

> Estimated hours taken: 8
> Branches: main
>
> In parallel grades associate a mutex with each non-constant mutable.  A
> subsequent change will modify the mutable get and set predicates to use this
> mutex to ensure that accesses to the mutable in parallel grades are thread
> safe.
>
> Modify the initialisation predicate for non-constant mutables so that they
> also initialise the mutex belonging to the mutable.
>
> Break up the overly-long clause that adds the foreign_procs for the mutable
> get, set and initialise predicates.  Move most of it into separate auxiliary
> predicates.
>

I've committed this since I need it to work on the next bit.

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