Atomic operations and memory barriers (x86 and x86_64/amd64 specific).
More...
Go to the source code of this file.
Detailed Description
Atomic operations and memory barriers (x86 and x86_64/amd64 specific)
- Warning:
- atomic ops do not include memory barriers, see atomic_ops.h for more details.
Config defines:
- NOSMP
- X86_OOSTORE (out of order store, defined by default)
- X86_64_OOSTORE, like X86_OOSTORE, but for x86_64 CPUs, default off
- __CPU_x86_64 (64 bit mode, long and void* is 64 bit and the CPU has all of the mfence, lfence and sfence instructions)
- __CPU_i386 (486+, 32 bit)
Definition in file atomic_x86.h.