avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] "Volatile"


From: David Kelly
Subject: Re: [avr-gcc-list] "Volatile"
Date: Mon, 18 Apr 2005 12:58:29 -0500


On Apr 18, 2005, at 1:40 AM, David Brown wrote:

Yes, it is the later - C has no concept of "atomic statement", so anything dependant on atomicity is going to be target-depedendant and non-portable.

Not terribly long ago I went digging thru GCC docs on the hope of finding an __attribute__ for quickly and cleanly applying an "atomic" property to a variable. Didn't find one. But knowing there were "packed" and similar attributes for structs, and the various things done for AVR registers, led me to suspect "atomic" or similar might exist.

--
David Kelly N4HHE, address@hidden
========================================================================
Whom computers would destroy, they must first drive mad.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]