process-wait

$Revision: 5.0.2.4 $

Function

Package: MULTIPROCESSING

Arguments: (whostate function &rest args)

This function suspends the current process (the value of sys:*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 the discussion under the headings Waiting for input to a file and mp:process-wait vs mp:wait-for-input-available in multiprocessing.htm for information on why not to use this function when waiting for input from a file.

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.