diff --git a/include/helpers.h b/include/helpers.h index 7213e9a2a..4193e0f60 100644 --- a/include/helpers.h +++ b/include/helpers.h @@ -277,6 +277,9 @@ INLINE uint64_t atomic64_and(atomic64 *u, uint64_t a) { INLINE uint64_t atomic64_inc(atomic64 *u) { return atomic64_add(u, 1); } +INLINE uint64_t atomic64_inc_na(atomic64 *u) { + return atomic64_add_na(u, 1); +} INLINE uint64_t atomic64_dec(atomic64 *u) { return atomic64_add(u, -1); }