Scieneer Common Lisp 1.3.9 online documentation

thread:cond-var-timedwait cond-var lock timeout &optional whostate[Function]

Unlock the lock and wait for either the condition variable to be signalled returning true, or timeout returning nil. The lock must be locked before calling and is reacquired before return.