[Gc] Re: Using the GC from a DLL

Achilleas Margaritis axilmar at otenet.gr
Thu Jan 3 12:28:46 PST 2008

So do I have to call GC_INIT or not?

If I do, do I have to call it from main, WinMain or it does not matter?

O/H Boehm, Hans έγραψε:
> The CVS version forces initialization on a GC_malloc call.  Version 7.0 does not.  Even with the CVS version, some more esoteric calls might cause problems if they are made before initialization.
> Hans
>> -----Original Message-----
>> From: gc-bounces at napali.hpl.hp.com
>> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Achilleas
>> Margaritis
>> Sent: Monday, December 31, 2007 1:47 AM
>> To: gc at napali.hpl.hp.com
>> Subject: [Gc] Using the GC from a DLL
>> How can I use the GC from inside a DLL?
>> What if the DLL does allocations in its initialization code
>> before I am given a chance to call GC_INIT?
>> _______________________________________________
>> Gc mailing list
>> Gc at linux.hpl.hp.com
>> https://www.hpl.hp.com/hosted/linux/mail-archives/gc/

More information about the Gc mailing list