From sionescu at cddr.org Sun Jun 3 10:26:28 2012 From: sionescu at cddr.org (Stelian Ionescu) Date: Sun, 03 Jun 2012 12:26:28 +0200 Subject: [Bordeaux-threads-devel] Bordeaux-Threads release 0.8.2 Message-ID: <1338719188.5325.34.camel@cathai> There's a new release of Bordeaux-Threads. Noteworthy changes since 0.8.1: * Allegro: JOIN-THREAD now returns the thread function's return value instead of just NIL * Lispworks: on 6.1+ implement THREAD-JOIN using the native primitive mp:process-join -- Stelian Ionescu a.k.a. fe[nl]ix Quidquid latine dictum sit, altum videtur. http://common-lisp.net/project/iolib -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: From martin at lispworks.com Wed Jun 6 14:49:32 2012 From: martin at lispworks.com (Martin Simmons) Date: Wed, 6 Jun 2012 15:49:32 +0100 Subject: [Bordeaux-threads-devel] LispWorks impl of threadp shouldn't check for simple-process Message-ID: <201206061449.q56EnWJ6017934@higson.cam.lispworks.com> Please remove the clause for simple-process-p from bordeaux-threads:threadp in LispWorks. The main reasons are that the simple process concept hasn't been supported on most platforms for years and was never a thread (with its own stack etc). Another reason is that the symbol mp:simple-process-p still exists, so the conditionalization doesn't work as expected. --- src/impl-lispworks.lisp~ 2012-06-01 20:17:41.000000000 +0100 +++ src/impl-lispworks.lisp 2012-06-06 15:42:32.642191550 +0100 @@ -30,10 +30,7 @@ (mp:get-current-process)) (defun threadp (object) - (or (mp:process-p object) - ;; removed in LispWorks 6.1 - #+#.(cl:if (cl:find-symbol (cl:string '#:simple-process-p) :mp) '(and) '(or)) - (mp:simple-process-p object))) + (mp:process-p object)) (defun thread-name (thread) (mp:process-name thread)) -- Martin Simmons LispWorks Ltd http://www.lispworks.com/ From sionescu at cddr.org Fri Jun 15 16:40:05 2012 From: sionescu at cddr.org (Stelian Ionescu) Date: Fri, 15 Jun 2012 18:40:05 +0200 Subject: [Bordeaux-threads-devel] LispWorks impl of threadp shouldn't check for simple-process In-Reply-To: <201206061449.q56EnWJ6017934@higson.cam.lispworks.com> References: <201206061449.q56EnWJ6017934@higson.cam.lispworks.com> Message-ID: <1339778405.14749.4.camel@cathai> On Wed, 2012-06-06 at 15:49 +0100, Martin Simmons wrote: > Please remove the clause for simple-process-p from bordeaux-threads:threadp in > LispWorks. The main reasons are that the simple process concept hasn't been > supported on most platforms for years and was never a thread (with its own > stack etc). Another reason is that the symbol mp:simple-process-p still > exists, so the conditionalization doesn't work as expected. Thanks, committed :) -- Stelian Ionescu a.k.a. fe[nl]ix Quidquid latine dictum sit, altum videtur. http://common-lisp.net/project/iolib -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: From llmjjmll at gmail.com Sat Jun 30 18:45:04 2012 From: llmjjmll at gmail.com (James M. Lawrence) Date: Sat, 30 Jun 2012 14:45:04 -0400 Subject: [Bordeaux-threads-devel] Allegro 9.0 SMP fixes Message-ID: The first patch is a stress test which will hang without the subsequent patch. This patch covers all Allegro versions. The code was incorrect all along, but symptoms only appeared with real SMP. Thanks to Franz support for recommending the solution. The stress test may also fail intermittently for unrelated reasons. Franz is aware of this problem (which stems from the weak-keys hash in impl-allegro.lisp). -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-add-stress-test.patch Type: application/octet-stream Size: 1856 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0002-Allegro-fix-invalid-use-of-gates.patch Type: application/octet-stream Size: 1026 bytes Desc: not available URL: From llmjjmll at gmail.com Sat Jun 30 19:10:09 2012 From: llmjjmll at gmail.com (James M. Lawrence) Date: Sat, 30 Jun 2012 15:10:09 -0400 Subject: [Bordeaux-threads-devel] Clozure: fix condition-wait Message-ID: If release-lock fails then do not call acquire-lock. -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Clozure-fix-condition-wait.patch Type: application/octet-stream Size: 920 bytes Desc: not available URL: