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

## memlog-state

Arguments: &key log wait

Return the state of memory logging.

If the log argument is specified, return the state of the specified log.

If the wait argument is specified, it determines how long to wait in order to gain access to the log (`nil` or 0 means do not wait, a positive integer means wait that number of seconds, any other non-`nil` value means wait as long as necessary).

If memory logging is disabled, return `nil`.

Otherwise return 5 values: the current state keyword (`:stopped` or `:ready`) and 4 numbers which indicate entries, skipped, size, width.

The current memory log may be in other intermediate states but these exist only while the log is locked. Since memlog-state must acquire a lock to obtain a consistent snapshot, it can only report on the two stable unlocked states.

See Memlog: A Facility for Minimally Intrusive Monitoring of Complex Application Behavior in smp.htm for more information.

See multiprocessing.htm for general information on multiprocessing in Allegro CL.

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