Quick Links:

bal | bbl | bdl | bsl

Component bsls_atomicoperations_x64_all_gcc
[Package bsls]

Provide implementations of atomic operations for X86_64/GCC. More...

Outline
Purpose:
Provide implementations of atomic operations for X86_64/GCC.
Classes:
bsls::AtomicOperations_X64_ALL_GCC implementation of atomics for X86_64/GCC
Description:
This component provides classes necessary to implement atomics on the Linux X86_64 platform with GCC. The classes are for private use only. See bsls_atomicoperations and bsls_atomic for the public interface to atomics.
Notes:
  • GCC atomic intrinsics are used where possible instead of the assembly code,
  • "+m" constraint may cause an inconsistent operand constraint error in GCC 3.x in optimized builds, therefore sometimes a combination of output "=m" and input "m" constraints is used.