Paul Davis wrote:
no, atomic is 32 bits on x86. its only 24 bits on
sparc, where
the need to provide a spinlock to cover cache write-back effects
forces it to 24 bits. you can do atomic exchange and compare-and-swap
on pointers for x86.
thanks for the correction. sacrificing portability, this
makes some interesting and flexible constructs possible.
tim