vsync / atomic / await_u64.h
Atomic await functions for vatomic64_t variables.
This file declares and documents the atomic await functions operating on vatomic64_t variables.
Please do not include this file directly, instead use:
#include <vsync/atomic/await.h>
Functions
| Function | Description |
|---|---|
| vatomic64_await_lt | Politely awaits the value pointed by a to be less than v. |
| vatomic64_await_lt_acq | Politely awaits the value pointed by a to be less than v. |
| vatomic64_await_lt_rlx | Politely awaits the value pointed by a to be less than v. |
| vatomic64_await_le | Politely awaits the value pointed by a to be less than or equal to v. |
| vatomic64_await_le_acq | Politely awaits the value pointed by a to be less than or equal to v. |
| vatomic64_await_le_rlx | Politely awaits the value pointed by a to be less than or equal to v. |
| vatomic64_await_gt | Politely awaits the value pointed by a to be greater than v. |
| vatomic64_await_gt_acq | Politely awaits the value pointed by a to be greater than v. |
| vatomic64_await_gt_rlx | Politely awaits the value pointed by a to be greater than v. |
| vatomic64_await_ge | Politely awaits the value pointed by a to be greater than or equal to v. |
| vatomic64_await_ge_acq | Politely awaits the value pointed by a to be greater than or equal to v. |
| vatomic64_await_ge_rlx | Politely awaits the value pointed by a to be greater than or equal to v. |
| vatomic64_await_neq | Politely awaits the value pointed by a to be different than v. |
| vatomic64_await_neq_acq | Politely awaits the value pointed by a to be different than v. |
| vatomic64_await_neq_rlx | Politely awaits the value pointed by a to be different than v. |
| vatomic64_await_eq | Politely awaits the value pointed by a to be equal to v. |
| vatomic64_await_eq_acq | Politely awaits the value pointed by a to be equal to v. |
| vatomic64_await_eq_rlx | Politely awaits the value pointed by a to be equal to v. |
| vatomic64_await_eq_add | Politely awaits the value pointed by a to be equal to c, adding v to a once the condition is satisfied. |
| vatomic64_await_eq_add_acq | Politely awaits the value pointed by a to be equal to c, adding v to a once the condition is satisfied. |
| vatomic64_await_eq_add_rel | Politely awaits the value pointed by a to be equal to c, adding v to a once the condition is satisfied. |
| vatomic64_await_eq_add_rlx | Politely awaits the value pointed by a to be equal to c, adding v to a once the condition is satisfied. |
| vatomic64_await_eq_sub | Politely awaits the value pointed by a to be equal to c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_eq_sub_acq | Politely awaits the value pointed by a to be equal to c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_eq_sub_rel | Politely awaits the value pointed by a to be equal to c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_eq_sub_rlx | Politely awaits the value pointed by a to be equal to c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_eq_set | Politely awaits the value pointed by a to be equal to c, setting v to a once the condition is satisfied. |
| vatomic64_await_eq_set_acq | Politely awaits the value pointed by a to be equal to c, setting v to a once the condition is satisfied. |
| vatomic64_await_eq_set_rel | Politely awaits the value pointed by a to be equal to c, setting v to a once the condition is satisfied. |
| vatomic64_await_eq_set_rlx | Politely awaits the value pointed by a to be equal to c, setting v to a once the condition is satisfied. |
| vatomic64_await_neq_add | Politely awaits the value pointed by a to be different than c, adding v to a once the condition is satisfied. |
| vatomic64_await_neq_add_acq | Politely awaits the value pointed by a to be different than c, adding v to a once the condition is satisfied. |
| vatomic64_await_neq_add_rel | Politely awaits the value pointed by a to be different than c, adding v to a once the condition is satisfied. |
| vatomic64_await_neq_add_rlx | Politely awaits the value pointed by a to be different than c, adding v to a once the condition is satisfied. |
| vatomic64_await_neq_sub | Politely awaits the value pointed by a to be different than c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_neq_sub_acq | Politely awaits the value pointed by a to be different than c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_neq_sub_rel | Politely awaits the value pointed by a to be different than c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_neq_sub_rlx | Politely awaits the value pointed by a to be different than c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_neq_set | Politely awaits the value pointed by a to be different than c, setting v to a once the condition is satisfied. |
| vatomic64_await_neq_set_acq | Politely awaits the value pointed by a to be different than c, setting v to a once the condition is satisfied. |
| vatomic64_await_neq_set_rel | Politely awaits the value pointed by a to be different than c, setting v to a once the condition is satisfied. |
| vatomic64_await_neq_set_rlx | Politely awaits the value pointed by a to be different than c, setting v to a once the condition is satisfied. |
| vatomic64_await_lt_add | Politely awaits the value pointed by a to be less than c, adding v to a once the condition is satisfied. |
| vatomic64_await_lt_add_acq | Politely awaits the value pointed by a to be less than c, adding v to a once the condition is satisfied. |
| vatomic64_await_lt_add_rel | Politely awaits the value pointed by a to be less than c, adding v to a once the condition is satisfied. |
| vatomic64_await_lt_add_rlx | Politely awaits the value pointed by a to be less than c, adding v to a once the condition is satisfied. |
| vatomic64_await_lt_sub | Politely awaits the value pointed by a to be less than c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_lt_sub_acq | Politely awaits the value pointed by a to be less than c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_lt_sub_rel | Politely awaits the value pointed by a to be less than c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_lt_sub_rlx | Politely awaits the value pointed by a to be less than c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_lt_set | Politely awaits the value pointed by a to be less than c, setting v to a once the condition is satisfied. |
| vatomic64_await_lt_set_acq | Politely awaits the value pointed by a to be less than c, setting v to a once the condition is satisfied. |
| vatomic64_await_lt_set_rel | Politely awaits the value pointed by a to be less than c, setting v to a once the condition is satisfied. |
| vatomic64_await_lt_set_rlx | Politely awaits the value pointed by a to be less than c, setting v to a once the condition is satisfied. |
| vatomic64_await_le_add | Politely awaits the value pointed by a to be less than or equal to c, adding v to a once the condition is satisfied. |
| vatomic64_await_le_add_acq | Politely awaits the value pointed by a to be less than or equal to c, adding v to a once the condition is satisfied. |
| vatomic64_await_le_add_rel | Politely awaits the value pointed by a to be less than or equal to c, adding v to a once the condition is satisfied. |
| vatomic64_await_le_add_rlx | Politely awaits the value pointed by a to be less than or equal to c, adding v to a once the condition is satisfied. |
| vatomic64_await_le_sub | Politely awaits the value pointed by a to be less than or equal to c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_le_sub_acq | Politely awaits the value pointed by a to be less than or equal to c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_le_sub_rel | Politely awaits the value pointed by a to be less than or equal to c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_le_sub_rlx | Politely awaits the value pointed by a to be less than or equal to c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_le_set | Politely awaits the value pointed by a to be less than or equal to c, setting v to a once the condition is satisfied. |
| vatomic64_await_le_set_acq | Politely awaits the value pointed by a to be less than or equal to c, setting v to a once the condition is satisfied. |
| vatomic64_await_le_set_rel | Politely awaits the value pointed by a to be less than or equal to c, setting v to a once the condition is satisfied. |
| vatomic64_await_le_set_rlx | Politely awaits the value pointed by a to be less than or equal to c, setting v to a once the condition is satisfied. |
| vatomic64_await_gt_add | Politely awaits the value pointed by a to be greater than c, adding v to a once the condition is satisfied. |
| vatomic64_await_gt_add_acq | Politely awaits the value pointed by a to be greater than c, adding v to a once the condition is satisfied. |
| vatomic64_await_gt_add_rel | Politely awaits the value pointed by a to be greater than c, adding v to a once the condition is satisfied. |
| vatomic64_await_gt_add_rlx | Politely awaits the value pointed by a to be greater than c, adding v to a once the condition is satisfied. |
| vatomic64_await_gt_sub | Politely awaits the value pointed by a to be greater than c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_gt_sub_acq | Politely awaits the value pointed by a to be greater than c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_gt_sub_rel | Politely awaits the value pointed by a to be greater than c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_gt_sub_rlx | Politely awaits the value pointed by a to be greater than c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_gt_set | Politely awaits the value pointed by a to be greater than c, setting v to a once the condition is satisfied. |
| vatomic64_await_gt_set_acq | Politely awaits the value pointed by a to be greater than c, setting v to a once the condition is satisfied. |
| vatomic64_await_gt_set_rel | Politely awaits the value pointed by a to be greater than c, setting v to a once the condition is satisfied. |
| vatomic64_await_gt_set_rlx | Politely awaits the value pointed by a to be greater than c, setting v to a once the condition is satisfied. |
| vatomic64_await_ge_add | Politely awaits the value pointed by a to be greater than or equal to c, adding v to a once the condition is satisfied. |
| vatomic64_await_ge_add_acq | Politely awaits the value pointed by a to be greater than or equal to c, adding v to a once the condition is satisfied. |
| vatomic64_await_ge_add_rel | Politely awaits the value pointed by a to be greater than or equal to c, adding v to a once the condition is satisfied. |
| vatomic64_await_ge_add_rlx | Politely awaits the value pointed by a to be greater than or equal to c, adding v to a once the condition is satisfied. |
| vatomic64_await_ge_sub | Politely awaits the value pointed by a to be greater than or equal to c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_ge_sub_acq | Politely awaits the value pointed by a to be greater than or equal to c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_ge_sub_rel | Politely awaits the value pointed by a to be greater than or equal to c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_ge_sub_rlx | Politely awaits the value pointed by a to be greater than or equal to c, subtracting v to a once the condition is satisfied. |
| vatomic64_await_ge_set | Politely awaits the value pointed by a to be greater than or equal to c, setting v to a once the condition is satisfied. |
| vatomic64_await_ge_set_acq | Politely awaits the value pointed by a to be greater than or equal to c, setting v to a once the condition is satisfied. |
| vatomic64_await_ge_set_rel | Politely awaits the value pointed by a to be greater than or equal to c, setting v to a once the condition is satisfied. |
| vatomic64_await_ge_set_rlx | Politely awaits the value pointed by a to be greater than or equal to c, setting v to a once the condition is satisfied. |
Function vatomic64_await_lt
static vuint64_t vatomic64_await_lt(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be less than v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: seq_cst
Function vatomic64_await_lt_acq
static vuint64_t vatomic64_await_lt_acq(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be less than v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: acquire
Function vatomic64_await_lt_rlx
static vuint64_t vatomic64_await_lt_rlx(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be less than v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: relaxed
Function vatomic64_await_le
static vuint64_t vatomic64_await_le(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: seq_cst
Function vatomic64_await_le_acq
static vuint64_t vatomic64_await_le_acq(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: acquire
Function vatomic64_await_le_rlx
static vuint64_t vatomic64_await_le_rlx(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: relaxed
Function vatomic64_await_gt
static vuint64_t vatomic64_await_gt(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be greater than v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: seq_cst
Function vatomic64_await_gt_acq
static vuint64_t vatomic64_await_gt_acq(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be greater than v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: acquire
Function vatomic64_await_gt_rlx
static vuint64_t vatomic64_await_gt_rlx(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be greater than v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: relaxed
Function vatomic64_await_ge
static vuint64_t vatomic64_await_ge(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: seq_cst
Function vatomic64_await_ge_acq
static vuint64_t vatomic64_await_ge_acq(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: acquire
Function vatomic64_await_ge_rlx
static vuint64_t vatomic64_await_ge_rlx(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: relaxed
Function vatomic64_await_neq
static vuint64_t vatomic64_await_neq(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be different than v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: seq_cst
Function vatomic64_await_neq_acq
static vuint64_t vatomic64_await_neq_acq(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be different than v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: acquire
Function vatomic64_await_neq_rlx
static vuint64_t vatomic64_await_neq_rlx(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be different than v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: value satisfying conditon
Memory ordering: relaxed
Function vatomic64_await_eq
static vuint64_t vatomic64_await_eq(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be equal to v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: last value before satisfying condition
Memory ordering: seq_cst
Function vatomic64_await_eq_acq
static vuint64_t vatomic64_await_eq_acq(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be equal to v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: last value before satisfying condition
Memory ordering: acquire
Function vatomic64_await_eq_rlx
static vuint64_t vatomic64_await_eq_rlx(const vatomic64_t *a, vuint64_t v)
Politely awaits the value pointed by a to be equal to v.
The return value is the first read value that satisfies the condition, as if read with vatomic64_read(a).
Parameters:
a: atomic variablev: value to compare
Returns: last value before satisfying condition
Memory ordering: relaxed
Function vatomic64_await_eq_add
static vuint64_t vatomic64_await_eq_add(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be equal to c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_eq_add_acq
static vuint64_t vatomic64_await_eq_add_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be equal to c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_eq_add_rel
static vuint64_t vatomic64_await_eq_add_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be equal to c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_eq_add_rlx
static vuint64_t vatomic64_await_eq_add_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be equal to c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_eq_sub
static vuint64_t vatomic64_await_eq_sub(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be equal to c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_eq_sub_acq
static vuint64_t vatomic64_await_eq_sub_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be equal to c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_eq_sub_rel
static vuint64_t vatomic64_await_eq_sub_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be equal to c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_eq_sub_rlx
static vuint64_t vatomic64_await_eq_sub_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be equal to c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_eq_set
static vuint64_t vatomic64_await_eq_set(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be equal to c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_eq_set_acq
static vuint64_t vatomic64_await_eq_set_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be equal to c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_eq_set_rel
static vuint64_t vatomic64_await_eq_set_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be equal to c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_eq_set_rlx
static vuint64_t vatomic64_await_eq_set_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be equal to c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_neq_add
static vuint64_t vatomic64_await_neq_add(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be different than c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_neq_add_acq
static vuint64_t vatomic64_await_neq_add_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be different than c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_neq_add_rel
static vuint64_t vatomic64_await_neq_add_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be different than c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_neq_add_rlx
static vuint64_t vatomic64_await_neq_add_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be different than c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_neq_sub
static vuint64_t vatomic64_await_neq_sub(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be different than c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_neq_sub_acq
static vuint64_t vatomic64_await_neq_sub_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be different than c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_neq_sub_rel
static vuint64_t vatomic64_await_neq_sub_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be different than c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_neq_sub_rlx
static vuint64_t vatomic64_await_neq_sub_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be different than c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_neq_set
static vuint64_t vatomic64_await_neq_set(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be different than c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_neq_set_acq
static vuint64_t vatomic64_await_neq_set_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be different than c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_neq_set_rel
static vuint64_t vatomic64_await_neq_set_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be different than c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_neq_set_rlx
static vuint64_t vatomic64_await_neq_set_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be different than c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_lt_add
static vuint64_t vatomic64_await_lt_add(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_lt_add_acq
static vuint64_t vatomic64_await_lt_add_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_lt_add_rel
static vuint64_t vatomic64_await_lt_add_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_lt_add_rlx
static vuint64_t vatomic64_await_lt_add_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_lt_sub
static vuint64_t vatomic64_await_lt_sub(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_lt_sub_acq
static vuint64_t vatomic64_await_lt_sub_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_lt_sub_rel
static vuint64_t vatomic64_await_lt_sub_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_lt_sub_rlx
static vuint64_t vatomic64_await_lt_sub_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_lt_set
static vuint64_t vatomic64_await_lt_set(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_lt_set_acq
static vuint64_t vatomic64_await_lt_set_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_lt_set_rel
static vuint64_t vatomic64_await_lt_set_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_lt_set_rlx
static vuint64_t vatomic64_await_lt_set_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_le_add
static vuint64_t vatomic64_await_le_add(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_le_add_acq
static vuint64_t vatomic64_await_le_add_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_le_add_rel
static vuint64_t vatomic64_await_le_add_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_le_add_rlx
static vuint64_t vatomic64_await_le_add_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_le_sub
static vuint64_t vatomic64_await_le_sub(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_le_sub_acq
static vuint64_t vatomic64_await_le_sub_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_le_sub_rel
static vuint64_t vatomic64_await_le_sub_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_le_sub_rlx
static vuint64_t vatomic64_await_le_sub_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_le_set
static vuint64_t vatomic64_await_le_set(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_le_set_acq
static vuint64_t vatomic64_await_le_set_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_le_set_rel
static vuint64_t vatomic64_await_le_set_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_le_set_rlx
static vuint64_t vatomic64_await_le_set_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be less than or equal to c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_gt_add
static vuint64_t vatomic64_await_gt_add(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_gt_add_acq
static vuint64_t vatomic64_await_gt_add_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_gt_add_rel
static vuint64_t vatomic64_await_gt_add_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_gt_add_rlx
static vuint64_t vatomic64_await_gt_add_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_gt_sub
static vuint64_t vatomic64_await_gt_sub(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_gt_sub_acq
static vuint64_t vatomic64_await_gt_sub_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_gt_sub_rel
static vuint64_t vatomic64_await_gt_sub_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_gt_sub_rlx
static vuint64_t vatomic64_await_gt_sub_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_gt_set
static vuint64_t vatomic64_await_gt_set(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_gt_set_acq
static vuint64_t vatomic64_await_gt_set_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_gt_set_rel
static vuint64_t vatomic64_await_gt_set_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_gt_set_rlx
static vuint64_t vatomic64_await_gt_set_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_ge_add
static vuint64_t vatomic64_await_ge_add(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_ge_add_acq
static vuint64_t vatomic64_await_ge_add_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_ge_add_rel
static vuint64_t vatomic64_await_ge_add_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_ge_add_rlx
static vuint64_t vatomic64_await_ge_add_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to c, adding v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_ge_sub
static vuint64_t vatomic64_await_ge_sub(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_ge_sub_acq
static vuint64_t vatomic64_await_ge_sub_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_ge_sub_rel
static vuint64_t vatomic64_await_ge_sub_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_ge_sub_rlx
static vuint64_t vatomic64_await_ge_sub_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to c, subtracting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed
Function vatomic64_await_ge_set
static vuint64_t vatomic64_await_ge_set(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: seq_cst
Function vatomic64_await_ge_set_acq
static vuint64_t vatomic64_await_ge_set_acq(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: acquire
Function vatomic64_await_ge_set_rel
static vuint64_t vatomic64_await_ge_set_rel(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: release
Function vatomic64_await_ge_set_rlx
static vuint64_t vatomic64_await_ge_set_rlx(vatomic64_t *a, vuint64_t c, vuint64_t v)
Politely awaits the value pointed by a to be greater than or equal to c, setting v to a once the condition is satisfied.
Parameters:
a: atomic variablec: value to comparev: value to apply the operation
Returns: old value
Memory ordering: relaxed