[Bordeaux-threads-devel] join-thread in allegro

Stelian Ionescu sionescu at cddr.org
Sun Mar 25 23:24:33 UTC 2012


On Mon, 2012-03-26 at 00:35 +0900, Kiyoshi Mizumaru wrote:
> Hi,
> 
> Even though the api documentation doesn't mention it, I've found that
> join-thread is expected to have a value of the thread's function in some
> lisp implementations.
> 
> (asdf:test-system :sqlite) always fails in concurrent access test since
> it checks return values of join-thread and join-thread's value is nil in
> current implementation for Allegro CL.  The followings are changes I've made
> to correct this problem, so please have a look at it.
> 
> https://bitbucket.org/kmizumar/bordeaux-threads/changeset/5de529f36b92
> https://bitbucket.org/kmizumar/bordeaux-threads/changeset/549bbcdcf794
> 
> Thanks in advance and sorry for my poor English, I'm still learning it.

I committed a different implementation that uses a hash-table to store
the return values, which doesn't require us to create a new process
class. Please test and is some test fails, send the output

-- 
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: <https://mailman.common-lisp.net/pipermail/bordeaux-threads-devel/attachments/20120326/2a4c421c/attachment.sig>


More information about the bordeaux-threads-devel mailing list