Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gcInitialize(3) — Sun WorkShop 5.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gcFixPrematureFrees(3)

gcStopFixingPrematureFrees(3)

gcmonitor(1)

gcInitialize(3)

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 settings.  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) gcmonitor(1)

"Configuring Sun WorkShop Memory Monitor" Sun WorkShop Memory Monitor User’s Manual

SunOS 5.0  —  Last change: 1998-06-12

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026