summaryrefslogtreecommitdiff
path: root/tests/timer-dead-thread.impure.lisp
blob: a369a33cdb5f0c6bc69ee0df01d5a56274c9fe22 (plain)
1
2
3
4
5
6
7
8
(with-test (:name (:with-timeout :dead-thread) :skipped-on (not :sb-thread))
  (make-join-thread
   (lambda ()
     (let ((timer (make-timer (lambda ()))))
       (schedule-timer timer 3)
       (assert t))))
  (sleep 6)
  (assert t))