[m-dev.] for review: semaphore.m working in hlc.gc grade

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Nov 7 13:54:28 AEDT 2000


On 06-Nov-2000, Peter Ross <peter.ross at miscrit.be> wrote:
> +++ semaphore.m	2000/11/06 16:10:27
> @@ -10,9 +10,6 @@
>  % This module implements a simple semaphore data type for allowing
>  % coroutines to synchronise with one another.
>  %
> -% Note if you are compiling in a hlc grade, the grade component must
> -% contain a `.par'.

I suggest that you document that in grades which don't support multi-threading,
the operations in this module are no-ops.

Otherwise that change looks fine.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list