Keith Gudger <[EMAIL PROTECTED]> wrote:

> Now your main routine may have an old value
> for that variable.

Even with volatile, if the interrupt had happened a few clocks later,
you'd read the old value as well.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to