1 #-sb-thread
(invoke-restart 'run-tests
::skip-file
)
3 (with-test (:name
(:two-threads-running-gc
)
4 :broken-on
:sb-safepoint
)
6 (make-join-thread (lambda ()
8 (sb-ext:gc
) (princ "\\") (force-output))
10 (make-join-thread (lambda ()
13 (princ "/") (force-output))
16 (when (and a-done b-done
) (return))
19 (defun waste (&optional
(n 1000))
20 (loop repeat n do
(test-util:opaque-identity
(make-string 16384))))
24 (with-test (:name
(:one-thread-runs-gc-while-other-conses
)
26 (loop for i below
100 do
35 (defparameter *aaa
* nil
)
36 (with-test (:name
(:one-thread-runs-gc-while-other-conses
:again
)
38 (loop for i below
100 do
43 (let ((*aaa
* (waste)))
45 (let ((*aaa
* (waste)))