stack-group-state

Function

Package: mp

Arguments: struct

This function returns the state of stack-group sg. The value is one of the following keywords:

  1. :awaiting-initial-call (the stack-group has never yet been resumed)
  2. :active (the stack-group is currently running and is the value of *current-stack-group*)
  3. :resumable (the stack-group has started evaluation, but has resumed some other stack-group and is not presently running and it may be resumed)
  4. :exhausted (the stack-group has completed its computation, i.e., its initial function has returned)

The value should be treated as read only.

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 will not work.

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.