FunctionPackage: mpToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

process-wait-with-timeout

Arguments: whostate seconds function &rest args

This function is similar to 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.

Like process-wait, function will be repeatedly applied to args. process-wait-with-timeout will return t if the result of the call to function is non-nil. process-wait-with-timeout returns nil if it timed out before detecting that function applied to args returned true.

The whostate argument must be a string which temporarily replaces the process' whostate for the duration of the wait.

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.

See multiprocessing.htm for general information on multiprocessing in Allegro CL.


Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version