Data Structures

atomic_common.h File Reference

Common part for all the atomic operations. More...

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

Go to the source code of this file.

Data Structures

Atomic load and store operations

Atomic store and load operations are atomic on all cpus, note however that they don't include memory barriers so if you want to use atomic_{get,set} to implement mutexes you must use the mb_* versions or explicitely use the barriers


Detailed Description

Common part for all the atomic operations (atomic_t and common operations) see atomic_ops.h for more info.

Definition in file atomic_common.h.