Structs

Enums

Constants

Functions

Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set to the value in *var. Uses sequentially consistent memory ordering, regardless of success or failure. Returns true if the compare was successful and the variable updated to desired.
Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set to the value in *var. On success, the memory ordering used was order_success; otherwise, it was order_failure. order_failure must be no stronger than order_success, and must not be release or acq_rel.
Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set to the value in *var. Uses sequentially consistent memory ordering, regardless of success or failure. Returns true if the compare was successful and the variable updated to desired.
Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set to the value in *var. On success, the memory ordering used was order_success; otherwise, it was order_failure. order_failure must be no stronger than order_success, and must not be release or acq_rel.
Exchanges an integer with the value in an atomic_var, using sequentially consistent ordering. Returns the value that was previously in the atomic_var.
Exchanges an integer with the value in an atomic_var, using the specified ordering. Returns the value that was previously in the atomic_var.
Exchanges an integer with the value in an atomic_var, using sequentially consistent ordering. Returns the value that was previously in the atomic_var.
Exchanges a pointer with the value in an atomic_var, using the specified ordering. Returns the value that was previously in the atomic_var.
Atomically adds n to *var, and returns the previous value of *var. Uses sequentially consistent ordering.
Atomically adds n to *var, and returns the previous value of *var.
Atomically ANDs n into *var, and returns the previous value of *var. Uses sequentially consistent ordering.
Atomically ANDs n with *var, and returns the previous value of *var.
Atomically ORs n into *var, and returns the previous value of *var. Uses sequentially consistent ordering.
Atomically ORs n with *var, and returns the previous value of *var.
Atomically subtracts n from *var, and returns the previous value of *var. Uses sequentially consistent ordering.
Atomically subtracts n from *var, and returns the previous value of *var.
Atomically XORs n into *var, and returns the previous value of *var. Uses sequentially consistent ordering.
Atomically XORs n with *var, and returns the previous value of *var.
Initializes an atomic variable with an integer value. This operation should be done before any other operations on this atomic variable, and must be done before attempting any parallel operations.
Initializes an atomic variable with a pointer value. This operation should be done before any other operations on this atomic variable, and must be done before attempting any parallel operations.
Reads an atomic var as an integer, using sequentially consistent ordering, and returns the result.
Reads an atomic var as an integer, using the specified ordering, and returns the result.
Reads an atomic var as a pointer, using sequentially consistent ordering, and returns the result.
Reads an atomic var as a pointer, using the specified ordering, and returns the result.
Stores an integer into an atomic var, using sequentially consistent ordering.
Stores an integer into an atomic var, using the specified ordering.
Stores a pointer into an atomic var, using sequentially consistent ordering.
Stores an pointer into an atomic var, using the specified ordering.

Type Definitions

Unions