[Ecls-list] Special variables and threads

Juan Jose Garcia-Ripoll juanjose.garciaripoll at gmail.com
Sat Jan 19 07:48:00 UTC 2013


On Fri, Jan 18, 2013 at 11:12 PM, Matthew Mondor
<mm_lists at pulsar-zone.net>wrote:

> How would process-wide (shared with all threads) bindings be done if
> all special variables were automatically locally bound in new threads?
> Perhaps that I misunderstood, though.
>

Process wide variables are not bound in the bindings array: simply a value
is stored in the symbol itself. What ECL would do is to copy the bindings
array of the original thread so that all variables that have special
bindings at the lexical level would also have them in the created thread.

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/20130119/b39cd728/attachment.html>


More information about the ecl-devel mailing list