| Allegro CL version 6.2 Unrevised from 6.1 |
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.
Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.
| Allegro CL version 6.2 Unrevised from 6.1 |