I'm sure this is a frequently asked question. I'm mostly sure I've already
asked this myself at some point, although searching my old mail (and the
web) turns up nothing.
First, does mp:with-timeout actually do anything? Simple (-minded) tests
such as
(time
(let ((done? nil) (count 0))
(mp:with-timeout (5) ;; timeout after 5 seconds
(do ()
(done?)
(sleep 1)
(incf count)
(if (> count 20) (setq done? t))))))
seem to indicate that it does not.
Second, if mp:with-timeout were to work, how would it interact with
unwind-protect cleanup forms?
If there's a FAQ I should RTFM, please let me know.
Michael