|
ginnOS
The reference: libc, the libraries and the kernel
|
atomic operations on 32-bit and 64-bit words, for counters and flags that need no lock (reference counts, statistics). More...
#include "common/stdint.h"Go to the source code of this file.
atomic operations on 32-bit and 64-bit words, for counters and flags that need no lock (reference counts, statistics).
each operation is one locked instruction and a full barrier, as Linux's atomic_t operations that return a value.