process-wait-with-timeout

$Revision: 5.0.2.4 $

Function

Package: MULTIPROCESSING

Arguments: (whostate seconds function &rest args)

This function is similar to mp:process-wait, but with a timeout. The units of time are seconds. The value of seconds may be any real number. Negative values are treated the same as 0. The wait will timeout if function does not return true before the timeout period expires.

The time granularity is system dependent. As a very rough guide, we can say that many Unix systems show a granularity of 0.08 but the value on your system may be different. You should test your own system if you want to call this function with small values of seconds. Values smaller than the granularity value may timeout immediately.

This function returns nil if it timed out before detecting that function applied to args returned true. It returns t if it did not time out.

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.