NextPrevUpTopContentsIndex

process-wait-with-timeout

Function
Summary

Suspend the current process until certain conditions are true, or until a timeout expires.

Package

mp

Signature
process-wait-with-timeout wait-reason
 timeout
 &optional wait-function
 &rest wait-arguments
 => bool
Arguments

wait-reason

A string describing the reason that the process is waiting.

timeout

A timeout, in seconds.

wait-function

A function to test.

wait-arguments

The arguments to apply to wait-function .

Values

bool

A boolean.

Description

This function uses process-wait to suspend the current Lisp process until the predicate wait-function applied to wait-arguments returns t , or until timeout seconds have passed.

bool is nil if the timeout occurred before wait-function returned true. bool is true otherwise.

See also

process-wait


LispWorks Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex