The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
atomic.h File Reference

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.

Detailed Description

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.