#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdatomic.h>
Go to the source code of this file.
|
#define | my__has_feature(...) 0 |
|
#define | rcutils_atomic_load(object, out) (out) = atomic_load(object) |
|
#define | rcutils_atomic_compare_exchange_strong(object, out, expected, desired) (out) = atomic_compare_exchange_strong(object, expected, desired) |
|
#define | rcutils_atomic_exchange(object, out, desired) (out) = atomic_exchange(object, desired) |
|
#define | rcutils_atomic_store(object, desired) atomic_store(object, desired) |
|
#define | rcutils_atomic_fetch_add(object, out, arg) (out) = atomic_fetch_add(object, arg) |
|
◆ my__has_feature
#define my__has_feature |
( |
|
... | ) |
0 |
◆ rcutils_atomic_load
#define rcutils_atomic_load |
( |
|
object, |
|
|
|
out |
|
) |
| (out) = atomic_load(object) |
◆ rcutils_atomic_compare_exchange_strong
◆ rcutils_atomic_exchange
#define rcutils_atomic_exchange |
( |
|
object, |
|
|
|
out, |
|
|
|
desired |
|
) |
| (out) = atomic_exchange(object, desired) |
◆ rcutils_atomic_store
#define rcutils_atomic_store |
( |
|
object, |
|
|
|
desired |
|
) |
| atomic_store(object, desired) |
◆ rcutils_atomic_fetch_add
#define rcutils_atomic_fetch_add |
( |
|
object, |
|
|
|
out, |
|
|
|
arg |
|
) |
| (out) = atomic_fetch_add(object, arg) |