X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-concurrency%2Ftests%2Ftest-mailbox.lisp;h=d38459b03a55e7a74eb868b62ef63de9144ed0d6;hb=2056118835600a7c4e372c796568ddada5824cf6;hp=e6cee14bdd56d16b98fe70ece3782fa77983322f;hpb=4255b37e50876702d2563f3418a44a3f5bf8a2e8;p=sbcl.git diff --git a/contrib/sb-concurrency/tests/test-mailbox.lisp b/contrib/sb-concurrency/tests/test-mailbox.lisp index e6cee14..d38459b 100644 --- a/contrib/sb-concurrency/tests/test-mailbox.lisp +++ b/contrib/sb-concurrency/tests/test-mailbox.lisp @@ -57,12 +57,12 @@ (apply #'+ (mapcar #'join-thread readers))) 1000) -;;; FIXME: Several tests disabled on Darwin and SunOS due to hangs. +;;; FIXME: Several tests disabled on SunOS due to hangs. ;;; -;;; On Darwin at least the issues don't seem to have anything to do with -;;; mailboxes per-se, but are rather related to our usage of signal-unsafe +;;; The issues don't seem to have anything to do with mailboxes +;;; per-se, but are rather related to our usage of signal-unsafe ;;; pthread functions inside signal handlers. -#+(and sb-thread (not (or darwin sunos))) +#+(and sb-thread (not sunos)) (progn ;; Dummy struct for ATOMIC-INCF to work. @@ -195,10 +195,10 @@ (:timeouts . 0)) (deftest mailbox.multiple-producers-multiple-consumers - (test-mailbox-producers-consumers :n-senders 100 - :n-receivers 100 + (test-mailbox-producers-consumers :n-senders 50 + :n-receivers 50 :n-messages 1000) - (:received . 100000) + (:received . 50000) (:garbage . 0) (:errors . 0) (:timeouts . 0)) @@ -206,8 +206,8 @@ (deftest mailbox.interrupts-safety.1 (multiple-value-bind (received garbage errors timeouts) (test-mailbox-producers-consumers - :n-senders 100 - :n-receivers 100 + :n-senders 50 + :n-receivers 50 :n-messages 1000 :interruptor #'(lambda (threads &aux (n (length threads))) ;; 99 so even in the unlikely case that only