X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fthreads.pure.lisp;h=0816e51ec389c576fe5f841d317ae69f94de6f9d;hb=d6f9676ae94419cb5544c45821a8d31adbc1fbe8;hp=2623216c488fe8ab340317bac1901969cd4320bb;hpb=b85af7079579401b458fecd2a7bb5fe85a963b2c;p=sbcl.git diff --git a/tests/threads.pure.lisp b/tests/threads.pure.lisp index 2623216..0816e51 100644 --- a/tests/threads.pure.lisp +++ b/tests/threads.pure.lisp @@ -52,7 +52,6 @@ ;;; Condition-wait should not be interruptible under WITHOUT-INTERRUPTS (with-test (:name without-interrupts+condition-wait - :fails-on :sb-lutex :skipped-on '(not :sb-thread)) (let* ((lock (make-mutex)) (queue (make-waitqueue)) @@ -191,7 +190,9 @@ ;;; wich _appear_ to be caused by malloc() and free() not being thread safe: an ;;; interrupted malloc in one thread can apparently block a free in another. There ;;; are also some indications that pthread_mutex_lock is not re-entrant. -(with-test (:name symbol-value-in-thread.3 :skipped-on '(not :sb-thread) :broken-on :darwin) +(with-test (:name symbol-value-in-thread.3 + :skipped-on '(not :sb-thread) + :broken-on :darwin) (let* ((parent *current-thread*) (semaphore (make-semaphore)) (running t) @@ -372,10 +373,8 @@ :ok))) :name "T1"))) ;; Currently we don't consider it a deadlock - ;; if there is a timeout in the chain. No - ;; Timeouts on lutex builds, though. - (assert (eq #-sb-lutex :deadline - #+sb-lutex :deadlock + ;; if there is a timeout in the chain. + (assert (eq :deadline (handler-case (sb-thread:with-mutex (m2) (sb-thread:signal-semaphore s2)