Subject: Re: Implementation of LET with special variables
From: rpw3@rpw3.org (Rob Warnock)
Date: Thu, 03 Jun 2004 05:27:44 -0500
Newsgroups: comp.lang.lisp
Message-ID: <KqydnWyPYqS9YCPdRVn-jw@speakeasy.net>
Don Geddis  <don@geddis.org> wrote:
+---------------
| > | Ari Johnson wrote:
| > | > Please explain how it was incorrect, if you have the time.  Thanks. :)
| 
| > Pascal Costanza  <costanza@web.de> wrote:
| > | He already did. When you change the value of a global variable via setq, 
| > | all threads will see the new value.
| 
| rpw3@rpw3.org (Rob Warnock) wrote on Wed, 02 Jun 2004:
| > Well, close, but... 
...
| But Pascal was responding to Ari's proposed code for implementing dynamic
| variables.  Ari's code was broken in the presence of multiple threads,
| because it did _not_ function the way you describe.
| 
| Which is exactly what Pascal explained.  He was answering Ari's question
| about "how it [Ari's implementation] was incorrect".
+---------------

Oops! You're right! Thanks for the catch.

And my apologies, Pascal...


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607