NAME gcInitialize - configure Sun WorkShop Memory Monitor at startup SYNOPSIS #include <gct.h> gcInitFunction gcInitialize(void); MT-LEVEL Should not be called by user threads. DESCRIPTION The Sun WorkShop Memory Monitor calls gcInitialize at startup to give the user the opportunity to configure set- tings. Users may define their own settings by including a function named gcInitialize in their programs using the form above. User programs should not call gcInitialize directly. To use the Sun WorkShop Memory Monitor you must link your program with one of the Sun WorkShop Memory Monitor libraries (see FILES). RETURN VALUES Do not return a value from gcInitialize. EXAMPLES #include <gct.h> . . . gcInitFunction gcInitialize(void) { gcFixPrematureFrees(); } FILES libgc.a, libgc.so Sun WorkShop Memory Monitor libraries for deployment mode. libgc_dbg.a, libgc_dbg.so Sun WorkShop Memory Monitor libraries for debugging mode, enabling interaction with gcmonitor(1). SEE ALSO gcFixPrematureFrees(3) gcStopFixingPrematureFrees(3) gcmoni- tor(1) "Configuring Sun WorkShop Memory Monitor" Sun WorkShop Memory Monitor User's Manual
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |