[m-rev.] for review: fix taking label addresses in standard library

Julien Fischer juliensf at csse.unimelb.edu.au
Thu Feb 8 02:04:48 AEDT 2007




On Wed, 7 Feb 2007, Peter Ross wrote:

> On Tue, Feb 06, 2007 at 02:10:29PM +1100, Peter Wang wrote:
>> Branches: main
>> library/thread.m:
>> library/thread.semaphore.m:
>> 	Don't take the addresses of labels in spawn/3, semaphore.signal/3 and
>> 	semaphore.wait/3 as that is a gcc extension.  This also fixes a crash
>> 	in spawn/3 on x86 when the Mercury standard library is dynamically
>> 	linked.
>>
>> library/par_builtin.m:
>> 	Rename symbols for module initialisation to be more similar to other
>> 	modules.
>>
> Not 100% sure I understand this change, but does it still work in say
> the none.gc grade, which does things differently.

Philosophers will dine in none.gc (and none.par.gc); they just chew
their food more slowly.

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