All Manuals > LispWorks User Guide and Reference Manual > 35 The MP Package

NextPrevUpTopContentsIndex

process-wait-local-with-timeout

Function
Summary

Has the same semantics as process-wait-with-timeout, but does not interact with the scheduler.

Package

mp

Signature

process-wait-local-with-timeout wait-reason timeout function &rest args => result

Arguments

wait-reason

A string.

timeout

A non-negative number.

function

A function designator.

args

Arguments passed to function.

Values

result

A boolean.

Description

The function process-wait-local-with-timeout has same semantics as process-wait-with-timeout, but is "local", which here means that it does not interact with the scheduler. The scheduler does not call the wait function and hence never wakes the waiting process.

The timeout is in seconds.

The circumstances in which the function wait-function is called, and the restrictions on it, are as documented for process-wait-local except that the wait function can additionally be called when it times out.

process-wait-local-with-timeout returns t if a call to the wait function returns true. It returns nil if it times out.

See also

process-wait-local


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex