[mercury-users] GC_malloc_atomic

Zoltan Somogyi zs at cs.mu.OZ.AU
Fri Sep 23 13:25:05 AEST 2005


On 23-Sep-2005, Michael Day <mikeday at yeslogic.com> wrote:
> Are there any known caveats to using GC_malloc_atomic within a Mercury
> program?

The only caveat is the one you listed yourself: you have to make sure
that the block contains no pointers to memory allocated by the Boehm collector.

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



More information about the users mailing list