All Manuals > LispWorks User Guide and Reference Manual > 44 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 real or nil.

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-poke
process-wait-local
Process Waiting and communication between processes


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex