make-stack-group

$Revision: 5.0.2.4 $

Function

Package: MULTIPROCESSING

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 mp: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 2.0 Processes and profiling (both models) in multiprocessing.htm and also mp:profile-stack-group-p. The value of this argument defaults to the value returned by mp: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 verrsions 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 general documentation description is in introduction.htm. The index in index.htm.

Copyright (C) 1998-1999, Franz Inc., Berkeley, CA. All Rights Reserved.