[m-rev.] for review: pthread_mutexattr_setpshared
Julien Fischer
juliensf at csse.unimelb.edu.au
Thu Oct 28 19:36:09 AEDT 2010
On Thu, 28 Oct 2010, Peter Wang wrote:
> Branches: main, 10.04
>
> Do not assume that pthread_mutexattr_setpshared() is available everywhere
> that pthread.h is available. It is used to synchronise processes in the
> `mmc --make --jobs' implementation.
>
> configure.in:
> runtime/mercury_conf.h.in:
> Define MR_HAVE_PTHREAD_MUTEXATTR_SETPSHARED if
> `pthread_mutexattr_setpshared' is found.
>
> compiler/make.util.m:
> Only use pthread_mutexattr_setpshared() if it was found.
That looks 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