On Sep 12, 2009, at 2:50 AM, Mike Harrison wrote: > Atomicity is a completely seperate issue as far as the compiler is > concerned Do any C compilers include support for "atomicity" ? GCC doesn't, nor Intel's C compiler for x86, but it's something that might be more likely to show up in a microcontroller-oriented compiler. (OTOH, Some of the "big" CPUs have rather obscure methods to achieve efficient atomicity in the face of their massive pipelines, instruction reordering, and so on.) BillW -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist