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

Peter Ross pro at missioncriticalit.com
Thu Feb 8 00:49:54 AEDT 2007


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.
--------------------------------------------------------------------------
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