atomic accesses

Jakub Jelinek jakub@redhat.com
Wed Mar 5 18:37:00 GMT 2008


On Wed, Mar 05, 2008 at 06:05:44PM +0000, Andrew Haley wrote:
> > Hm, just out  of curiosity, does not Java require  32-bit stores to be
> > atomic? 
> 
> Yes.

Linux uses typedef int sig_atomic_t; for all architectures, so if ARM
stores an int as two 16-bit guantities, it breaks ISO C requirements as
well.

	Jakub



More information about the Gcc mailing list