Bordeaux-Threads

Version 0.8.8

Common Lisp threading library

Macro WITH-TIMEOUT

Syntax:

with-timeout (timeout) declaration* forms* => results

Arguments and values:

timeout -> a non-negative real number.
declaration -> a declare expression; not evaluated.
forms -> an implicit progn.
results -> the values returned by the forms.

Description:

Execute forms and signal a condition of type timeout if the execution of forms does not complete within timeout seconds.

Exceptional situations:

timeout, not-implemented

See also:

timeout

Notes:

On implementations which do not support with-timeout natively and don’t support threads either it signals a condition of type not-implemented.

Last updated on 2022-01-07
Published on 2022-01-07
Edit on GitHub