Subj : Re: A question about atomic_ptr
To : comp.programming.threads
From : Chris Thomasson
Date : Fri Apr 15 2005 10:22 pm
> Well, we take what we can get. When you get lemons, you make lemonade.
> When you get hardware, you make software.
LOL!
Isn't assembly language great! Its basically created by experienced hard
working hardware folk who "seem" to think an efficient implementation of TAS
should be "enough" for all types of threaded programming. I could picture a
hardware guy thinking that DWCAS is basically only useful for 32-bit
programs that want to have 64-bit atomic ops, to be 64-bit ready so to
speak...
They give the ability for advanced lock-free algorithms on 32-bit and did
not event seem to realize it. That can "possibly" be a real reason that
would account for the fact that DWCAS is *not "reliably" ported to 64-bit
systems.
* It is on Intel extensions, and "some" AMD's; Per-cpu "features", damn...
;)
What the heck was that cmp8xchg16 thing all about!
.