[Ecls-list] Special symbols that might benefit from implicit locking or thread-local bindings

Antony lisp.linux at gmail.com
Mon Aug 1 14:09:32 UTC 2011

On 7/31/2011 8:32 PM, Matthew Mondor wrote:
> it's unlikely that user code would expect to have to use a lock to
> avoid its internal race conditions around*GENSYM-COUNTER*.  So
the counter is used *only* for the purpose of *naming* the gensyms.
the counter has nothing to with the uniqueness of symbol objects 
generated by gensym
the counter does help with symbol names to look distinct but that is not 
a requirement

all of the above are general observations and are not specific to ecl 
(based on my knowldeg of CL which you should take with a grain of salt)

having said the above, I do not know what the desired behavior is in 
multi-threaded situation.
Obviously unique names  would be nice, but that shouldn't be needed for 
a program.

If you already know this please ignore.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110801/cda693a6/attachment.html>

More information about the ecl-devel mailing list