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

arch/ia32/include/atomic.h File Reference

#include "config.h"

Include dependency graph for arch/ia32/include/atomic.h:

Go to the source code of this file.


namespace  Zygoma
namespace  Zygoma::ia32


typedef int AtomicWord
 A platform-specific atomically-addressable value.


AtomicWord atomicExchange (volatile AtomicWord *mem, int 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, int 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, int value)
 Atomically adds "value" to the value stored at "mem," stores result at "mem.

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