[Gc] Re: Using the GC from a DLL
axilmar at otenet.gr
Sun Jan 6 04:31:55 PST 2008
Could you please confirm the following:
1) GC_malloc can be invoked before GC_INIT either from a DLL or from the
2) GC_INIT must be invoked from main() and not from the DLL.
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.
>> -----Original Message-----
>> From: gc-bounces at napali.hpl.hp.com
>> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Achilleas
>> 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
More information about the Gc