Scieneer Common Lisp 1.3.9 online documentation

mp:process-wait-with-timeout whostate timeout predicate &key polling-interval[Function]

Causes the current process to wait until predicate returns true, or the number of seconds specified by timeout has elapsed. The timeout may be a fixnum or a float in seconds. The single true predicate value is returned, or nil if the timeout was reached. This implementation retests the predicate at the polling-interval which defaults to 0.01 seconds, or when signaled by mp:process-wakeup. The use of this function is not recommended - use locks and condition variables for threads synchronization.