A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-1074.htm below:

process-wait-with-timeout

Arguments

wait-reason

A string describing the reason that the process is waiting.

timeout

A non-negative real or nil.

wait-function

A function to test.

wait-arguments

The arguments to apply to wait-function.

Description

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

wait-function is called periodically by the scheduler, but in situations where you want more control over the timing you should consider using process-wait-local instead of process-wait and then call process-poke in the process that is expected to make the wait-function return true.

wait-function is called with interrupts blocked. It should therefore not allow interrupts, because this could cause deadlocks.

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4