On Sun, Sep 13, 2009 at 12:45 AM, William "Chops" Westfield wrote: > > 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" ? =A0GCC doesn't, nor > Intel's C compiler for x86, atomicity is generally achieved using semaphore's, mutexes, spin-locks etc to handle concurrency 1. http://en.wikipedia.org/wiki/Mutex 2. http://en.wikipedia.org/wiki/Semaphore_%28programming%29 3. http://en.wikipedia.org/wiki/Spinlock -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist