Common Lisp Package: COM.METABANG.TRIVIAL-TIMEOUT

README:

FUNCTION

Private

Undocumented

BUILD-WITH-TIMEOUT (SECONDS BODY)

GENERATE-PLATFORM-SPECIFIC-CODE (SECONDS-SYMBOL DOIT-SYMBOL)

MACRO

Public

WITH-TIMEOUT ((SECONDS) &BODY BODY)

Execute `body` for no more than `seconds` time. If `seconds` is exceeded, then a [timeout-error][] will be signaled. If `seconds` is nil, then the body will be run normally until it completes or is interrupted.

CONDITION

Public

TIMEOUT-ERROR

An error signaled when the duration specified in the [with-timeout][] is exceeded.