Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

include/atomic.h File Reference

#include <arch/atomic.h>
#include <arch.h>

Include dependency graph for include/atomic.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  Zygoma


typedef Arch::AtomicWord AtomicWord
 An atomic word.


AtomicWord atomicExchange (volatile AtomicWord *mem, AtomicWord value)
 Atomically exchanges the value found at mem with the value passed in as value, returns the original value found at mem.
AtomicWord atomicExchangeAndAdd (volatile AtomicWord *mem, AtomicWord value)
 Atomically sets the value at mem to value, returns the sum of value and the value originally found at mem.
void atomicAdd (volatile AtomicWord *mem, AtomicWord value)
 Atomically adds value to the value stored at mem, stores result at mem.

Generated on Fri Sep 2 10:44:40 2005 for zygoma by doxygen 1.4.2