<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 7/31/2011 8:32 PM, Matthew Mondor wrote:
<blockquote
cite="mid:201108010332.p713WFOM021608@ginseng.pulsar-zone.net"
type="cite">
<pre wrap="">it's unlikely that user code would expect to have to use a lock to
avoid its internal race conditions around <b class="moz-txt-star"><span class="moz-txt-tag">*</span>GENSYM-COUNTER<span class="moz-txt-tag">*</span></b>. So
</pre>
</blockquote>
Comments:<br>
the counter is used *only* for the purpose of *naming* the gensyms.
<br>
the counter has nothing to with the uniqueness of symbol objects
generated by gensym<br>
the counter does help with symbol names to look distinct but that is
not a requirement<br>
<br>
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)<br>
<br>
having said the above, I do not know what the desired behavior is in
multi-threaded situation.<br>
Obviously unique names would be nice, but that shouldn't be needed
for a program.<br>
<br>
If you already know this please ignore.<br>
<br>
-Antony<br>
</body>
</html>