[Ecls-list] thread-specific data

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue Mar 16 09:13:44 UTC 2010


On Tue, Mar 16, 2010 at 9:22 AM, Tobias C. Rittweiler <tcr at freebits.de>wrote:

> Yes. Two points here: a) many implementations provide a special variable
> and a keyword parameter on MAKE-THREAD for default bindings in new
> threads


That happens also with MP:MAKE-PROCESS
http://ecls.sourceforge.net/new-manual/re21.html


> , b) it will create thread-local bindings, but not thread-local
> data. I.e. the data will be part of the general Lisp heap, and can be
> freely shared between threads.
> It has not been implemented yet, but I made the suggestion on SBCL's bug
> tracker to introduce a THREAD-LOCAL-VALUE special form a la
> LOAD-TIME-VALUE.
>

What would be the rationale and specification for such a THREAD-LOCAL-VALUE?
Aren't special variable bindings enough?

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100316/807b0389/attachment.html>


More information about the ecl-devel mailing list