make-stack-group

Function

Package: mp

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).

USE OF THIS FUNCTION IS DEPRECATED.

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.

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.