process-wait

Function

Package: mp

Arguments: whostate function &rest arguments

This function suspends the current process (the value of *current-process*) until applying function to arguments yields true. The whostate argument must be a string which temporarily replaces the process' whostate for the duration of the wait. This function returns nil. See Gates (both models) in multiprocessing.htm for an efficient candidate for function.

See the discussion in the following sections in multiprocessing.htm for information on why not to use this function when waiting for input from a file. Note that the :os-threads and non :os-threads versions are discussed in different sections.

See also wait-for-input-available and waiting-for-input-available.

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.