[Bordeaux-threads-devel] compare-and-swap
Josh Marchán
sykopomp at sykosomatic.org
Sat Jul 21 14:42:16 UTC 2012
On Sat, Jul 21, 2012 at 09:42:30AM -0400, Paul Khuong wrote:
>In article <20120720140001.GA1193 at Zushakon>,
> Josh March?n <sykopomp at sykosomatic.org> wrote:
>
>> There's also weird behavior on
>> some implementations (notably SBCL) when it comes to accessing dynamic
>> variables (where it can only access the global binding, not the local
>> one).
>
>I don't know where you're getting that. SYMBOL-VALUE works with dynamic
>variables and their current dynamic binding, if any.
You're right. I hadn't tested it myself. I got that from Luis' post:
> (2012-06-10 update: Nikodemus wrote in to point out that (cas
> (symbol-value '*foo*) ...) on SBCL modifies the special variable's global
> value rather than its dynamic binding. Fixed table accordingly.)
--
Josh Marchán
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/bordeaux-threads-devel/attachments/20120721/811f064c/attachment.sig>
More information about the bordeaux-threads-devel
mailing list