On Thu, 2006-05-25 at 02:44 +0200, Jens M Andreasen wrote:
On Thu, 2006-05-25 at 02:24 +0200, Jens M Andreasen
wrote:
>>
I am looking for a cross-platform implementation of an atomic
>> integer.
sizeof(int) is your friend
int speedy; as well, since int is defined to be the fastest integer on
your platform of choice.
Uhmm, I was reliying on you using a contemporary implementation. For a
philosophical discussion you might prefer to look elsewhere
not sure what you mean, but on sparcs, int writes are not atomic unless
you only use the lower 24 bits.