The atomics namespace.
More...
◆ compare_exchange_weak() [1/3]
| int32_t task_scheduler::atomics::compare_exchange_weak |
( |
volatile int32_t & |
_data, |
|
|
int32_t |
_comperand, |
|
|
int32_t |
_value |
|
) |
| |
|
inline |
Compares the exchange weak.
- Parameters
-
| _data | The data. |
| _comperand | The comperand. |
| _value | The value. |
- Returns
- int32_t.
◆ compare_exchange_weak() [2/3]
| int64_t task_scheduler::atomics::compare_exchange_weak |
( |
volatile int64_t & |
_data, |
|
|
int64_t |
_comperand, |
|
|
int64_t |
_value |
|
) |
| |
|
inline |
Compares the exchange weak.
- Parameters
-
| _data | The data. |
| _comperand | The comperand. |
| _value | The value. |
- Returns
- int64_t.
◆ compare_exchange_weak() [3/3]
template<class T >
| T* task_scheduler::atomics::compare_exchange_weak |
( |
T *volatile & |
_data, |
|
|
T * |
_comperand, |
|
|
T * |
_value |
|
) |
| |
|
inline |
Compares the exchange weak.
- Parameters
-
| _data | The data. |
| _comperand | The comperand. |
| _value | The value. |
- Returns
- T *.
◆ compare_exchange_weak_128()
| bool task_scheduler::atomics::compare_exchange_weak_128 |
( |
volatile int64_t |
_data[], |
|
|
int64_t |
_comperand[], |
|
|
int64_t |
_value_hi, |
|
|
int64_t |
_value_lo |
|
) |
| |
|
inline |
Compares the exchange weak 128.
- Parameters
-
| _data | The data. |
| _comperand | The comperand. |
| _value_hi | The value hi. |
| _value_lo | The value lo. |
- Returns
- bool.
◆ decrement() [1/2]
| int64_t task_scheduler::atomics::decrement |
( |
volatile int64_t & |
_data | ) |
|
|
inline |
Decrements the specified data.
- Parameters
-
- Returns
- int64_t.
◆ decrement() [2/2]
| int32_t task_scheduler::atomics::decrement |
( |
volatile int32_t & |
_data | ) |
|
|
inline |
Decrements the specified data.
- Parameters
-
- Returns
- int32_t.
◆ increment() [1/2]
| int64_t task_scheduler::atomics::increment |
( |
volatile int64_t & |
_data | ) |
|
|
inline |
Increments the specified data.
- Parameters
-
- Returns
- int64_t.
◆ increment() [2/2]
| int32_t task_scheduler::atomics::increment |
( |
volatile int32_t & |
_data | ) |
|
|
inline |
Increments the specified data.
- Parameters
-
- Returns
- int32_t.