Package: mp

Arguments: stack-group

This function returns the value of the profile-stack-group-p flag for the stack group or process specified by the argument. If the value of the flag is true, then the space and time profilers will collect samples when this stack group or process is executing.

If sg-or-process is a stack group, all stack-groups which are created from it will inherit the current value of this flag at the time the stack-group is created (unless a specific value is given for the profile argument to make-stack-group).

This value may be changed with setf.


Allegro CL has two models of multiprocessing, the :os-threads model and the non:os-threads model, so named because :os-threads is on the *features* list of versions that use it. This function is used only by the non:os-threads model. The symbol naming this variable does not exist in versions using the :os-threads model. Conditionalize uses of this symbol in code that might be ported between versions with #-os-threads.

Note that in the future, all versions of Allegro CL may use the :os-threads model and code using this function will not work.

The :os-threads version of this function is profile-process-p but that function does not work in all cases in the non:os-threads versions. Since this is a useful function, you may wish to write code like:

#-os-threads (mp:profile-stack-group-p ...) #+os-threads (mp:profile-process-p ...)

as that will port without problem to an :os-threads version.

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

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.