waiting-for-input-available

Macro

Package: mp

Arguments: (stream-or-fd) &body body

(:os-threads implementations only.)

stream-or-fd must be a form evaluating to an input stream or to an integer input-file descriptor.

The forms in the body are evaluated inside an environment that places the file or descriptor on a list of "interesting" objects. If the lisp process executing this form goes into a wait while executing the body, and data becomes available on any of the "interesting" files, the process's wait function will be run to see if the wait has been satisfied. This macro is not required if doing simple lisp reads from a file or socket. Special circumstances are required to make this form necessary in application code.

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.