New test-case: (format t "~a~%" (sb-unix:unix-getpid))
(defun do-something (x) (sb-sys:without-gcing (copy-seq x)))
(defun test () (mapc #'sb-thread:join-thread (loop repeat 8 collect (sb-thread:make-thread (lambda () (dotimes (i 100000000) (let ((vector (make-array 1000))) (loop for i to 1000 do (do-something vector)))))))))
(test)
New test-case: unix-getpid) )
(format t "~a~%" (sb-unix:
(defun do-something (x) without- gcing
(sb-sys:
(copy-seq x)))
(defun test () join-thread
collect
(sb-thread: make-thread
(lambda ()
(dotimes (i 100000000)
(let ((vector (make-array 1000)))
(loop for i to 1000
do
( do-something vector)))))))))
(mapc #'sb-thread:
(loop repeat 8
(test)