This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Incrementing volatiles?
- To: Bill Currie <bcurrie at tssc dot co dot nz>
- Subject: Re: Incrementing volatiles?
- From: Andreas Schwab <schwab at issan dot informatik dot uni-dortmund dot de>
- Date: 17 Jul 1998 13:06:06 +0200
- Cc: law at cygnus dot com, Horst von Brand <vonbrand at inf dot utfsm dot cl>, Matthias Urlichs <smurf at noris dot de>, egcs at cygnus dot com
- References: <21583.900542629@hurl.cygnus.com> <35AD374A.7E72@tssc.co.nz>
Bill Currie <bcurrie@tssc.co.nz> writes:
|> alright (and maybe even desirable) to combine rtx's with in a C level
|> atomic operation (eg ++)
There is no such thing as an atomic operation in C, except *reading* an
object of sig_atomic_t.
--
Andreas Schwab "And now for something
schwab@issan.informatik.uni-dortmund.de completely different"
schwab@gnu.org