shithub: snippets

ref: 6c5f25a2fd0da669d735d457d0e7c04d2dc2efcc
dir: /atomics9.h/

View raw version
long atomic_fetch_add(long *i, long v);
long atomic_fetch_sub(long *i, long v);
long atomic_fetch_and(long *i, long v);
long atomic_fetch_or(long *i, long v);
long atomic_fetch_xor(long *i, long v);
long atomic_exchange(long *i, long v);