FunctionPackage: mpToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

make-stack-group

Arguments: name &key preset-function preset-arguments profile

This function creates a new stack-group object. name must be a string. The initial function and arguments, the values of the preset-function and the preset-arguments keyword arguments, may be specified in this form or with the stack-group-preset function. If supplied, the value of the preset-arguments argument must be a list.

The value of the profile keyword argument should be a boolean specifying whether the profiler should take samples while this stack-group is the current stack-group. See the discussion in Processes and profiling (both models) in multiprocessing.htm and also see profile-stack-group-p. The value of this argument defaults to the value returned by profile-stack-group-p applied to the current stack-group when mp:make-stack-group is called (thus, newly-created processes inherit this property from their creators).

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 function 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 may not work and the symbol naming it may not be present.

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


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.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1