Subject: Re: Test and set (was Re: postgreSQL)
To: Simon Burge <simonb@netbsd.org>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: tech-kern
Date: 05/29/1999 09:30:20
> I was only thinking in terms of Bill's interface for now. Would this
> do for now? One thing that's missing is the size of "atomic_value_t".
> Maybe that should be "atomic_set32" and so on...
The exact size or sizes which can be manipulated atomically may be
architecture-dependant...
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.
- Bill