[GBBopen-developer] Portable threads fix for SCL

Chun Tian (binghe) binghe.lisp at gmail.com
Mon Oct 20 07:50:08 EDT 2008


Hi, GBBopen & Dr. Corkill

Recently I'm testing my lisp projects on SCL (which just be freed for  
non-commercial use days ago). I found current portable-threads package  
(SVN r573) cannot be compiled correctly with SCL (1.3.8.1), some points:

* conditional variable class & related function haven't been defined  
for SCL

* there's a small typo in macro WITHOUT-LOCK-HELD

Attach is my trivial patch, please review it. With this patch I can  
compile & load it correctly (no test yet). But I don't know if I  
should add ":AUTO-FREE T" when I create the conditional-variable.

And, it seems that all thread-related functions in SCL are moved to  
THREAD package, but most code in portable-threads is still using the  
"old" MULTIPROCESSING (MP) package. I don't know from which version  
SCL add the THREAD package, maybe just the same time with the :PTHREAD  
in SCL's *FEATURES*. Should we change them to new package?

Regards,

Chun Tian (binghe)


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: portable-threads-scl-fix.diff
Type: application/octet-stream
Size: 3019 bytes
Desc: not available
Url : http://GBBopen.org/pipermail/gbbopen-developer/attachments/20081020/27ee1bc0/attachment.obj 
-------------- next part --------------



More information about the GBBopen-developer mailing list