Subject: Re: Test and set (was Re: postgreSQL)
To: Bill Sommerfeld <email@example.com>
From: Jason Thorpe <firstname.lastname@example.org>
Date: 05/29/1999 12:39:47
On Sat, 29 May 1999 09:30:20 -0400
Bill Sommerfeld <email@example.com> wrote:
> Besides what I wrote about PA requiring 16-*byte* alignment for
> semaphores, I'd imagine that at least some LP64 systems would have
> difficulty atomically setting a 32-bit object.
The Alpha, at least, can do "atomic" operations (via load-locked and
store-conditional) on both of the architectures "native" word sizes,
32-bit and 64-bit (i.e. ldl_l/stl_c and ldq_l/stq_c).
-- Jason R. Thorpe <firstname.lastname@example.org>