gcFixPrematureFrees(3)gcFixPrematureFrees(3)NAME
gcFixPrematureFrees, gcStopFixingPrematureFrees - enable and disable
fixing of premature frees by the libgc library.
SYNOPSIS
#include <gct.h>
void gcFixPrematureFrees(void);
void gcStopFixingPrematureFrees(void);
MT-LEVEL
Thread safe (but, see BUGS).
DESCRIPTIONgcFixPrematureFrees() tells the libgc library to fix premature frees
and also optimizes collector tuning for fixing premature frees.
gcStopFixingPrematureFrees() tells the libgc library to stop fixing
premature frees, reversing the effect of gcFixPrematureFrees(). This
also optimizes collector tuning for only fixing memory leaks.
To use these functions, you must link your program with one of the
libgc libraries (see FILES).
ENVIRONMENT
GC_DISABLE_FREE
It turns off explicit deallocation at run-time. It is equivalent
to calling gcFixPrematureFrees() from gcInitialize().
FILES
libgc.a, libgc.so
Libraries for deployment mode.
libgc_dbg.a, libgc_dbg.so
Libraries for debugging mode.
SEE ALSOgcInitialize(3)
1998-06-12 gcFixPrematureFrees(3)