[m-rev.] diff: fix initialization order bug for hlc.par.gc

Peter Ross pro at missioncriticalit.com
Thu Oct 31 03:17:13 AEDT 2002


fjh wrote:
> On 30-Oct-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> > Estimated hours taken: 8
> > Branches: main
> > 
> > Fix a bug which caused a seg-fault with the Win32 version of the
> > pthread library.
> > 
> > runtime/mercury_wrapper.c:
> > Move MR_init_thread_stuff() so that it is called before
> > MR_init_memory() as MR_init_memory() refers to
> > MR_engine_base_key which is initialised by
> > MR_init_thread_stuff().
> 
> Adding a comment would be a good idea...
> it could save the next guy 8 hours debugging time ;-)
> 
Done.

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list