[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] "Volatile"
From: |
Jeff Epler |
Subject: |
Re: [avr-gcc-list] "Volatile" |
Date: |
Sun, 17 Apr 2005 09:50:15 -0500 |
User-agent: |
Mutt/1.5.9i |
On Sun, Apr 17, 2005 at 03:27:37PM +0200, David Brown wrote:
> If your flag is declared as "volatile unsigned char flag", then
> operations such as "flag = 0" and "flag = 1" are atomic.
But is that a requirement of the standard, or simply because
1-byte-wide stores are atomic on the AVR architecture? I believe it's
the latter.
Jeff
pgpIbNnQBPXej.pgp
Description: PGP signature
- [avr-gcc-list] "Volatile", Keith Gudger, 2005/04/15
- Re: [avr-gcc-list] "Volatile", E. Weddington, 2005/04/15
- Re: [avr-gcc-list] "Volatile", David Brown, 2005/04/17
- Re: [avr-gcc-list] "Volatile",
Jeff Epler <=
- Re: [avr-gcc-list] "Volatile", David Brown, 2005/04/18
- Re: [avr-gcc-list] "Volatile", Graham Davies, 2005/04/18
- Re: [avr-gcc-list] "Volatile", David Brown, 2005/04/18
- Re: [avr-gcc-list] "Volatile", Keith Gudger, 2005/04/18
- Re: [avr-gcc-list] "Volatile", David Brown, 2005/04/18
- Re: [avr-gcc-list] "Volatile", David Kelly, 2005/04/18
- Re: [avr-gcc-list] "Volatile", David Brown, 2005/04/19
- RE: [avr-gcc-list] "Volatile", stevech, 2005/04/20
- Re: [avr-gcc-list] "Volatile", Colin Paul Gloster, 2005/04/20
- Re: [avr-gcc-list] "Volatile", E. Weddington, 2005/04/20