Function | Package: system | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## gc-switch

Arguments: gc-switch

This function returns the current value of the switch gc-switch. Where appropriate, it can be used with setf to set the switch value:

    cg-user(11): (sys:gc-switch :print)
    nil
    cg-user(12): (setf (sys:gc-switch :print) t)
    t
    cg-user(13): (sys:gc-switch :print)
    t

The function sys:gc-parameter performs the same role for parameters. The function sys:gc-parameters prints all switches and parameters along with their current values.

See gc.htm for more information on the garbage collector. The section System parameters and switches in that document describes all parameters and switches.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version