#include "config.h"
Include dependency graph for arch/ia32/include/atomic.h:
Go to the source code of this file.
Namespaces | |
namespace | Zygoma |
namespace | Zygoma::ia32 |
Typedefs | |
typedef int | AtomicWord |
A platform-specific atomically-addressable value. | |
Functions | |
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. |