#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.
Namespaces | |
| namespace | Zygoma |
Typedefs | |
| typedef Arch::AtomicWord | AtomicWord |
| An atomic word. | |
Functions | |
| 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. | |
1.4.2