Go to the source code of this file.
|
#define | _XATOMIC0_H |
|
#define | _GENERIC_ATOMICS 0 /* nonzero for (non-conforming) generic */ |
|
#define | _WCHAR_T_SIZE 2 |
|
#define | _SHORT_SIZE 2 |
|
#define | _INT_SIZE 4 |
|
#define | _LONG_SIZE 4 |
|
#define | _LONGLONG_SIZE 8 |
|
#define | _ADDR_SIZE 4 |
|
#define | _MS_32 1 |
|
#define | _MS_64 0 |
|
#define | _ATOMIC_MAXBYTES_LOCK_FREE 8 |
|
#define | _ATOMIC_FLAG_USES_LOCK 0 |
|
#define | _ATOMIC_FENCE_USES_LOCK 0 |
|
#define | _Get_atomic_count(_Counter) _Counter |
|
#define | _Init_atomic_counter(_Counter, _Value) _Counter = _Value |
|
#define | _Inc_atomic_counter_explicit(_Counter, _Order) (_Atomic_fetch_add_4(&_Counter, 1, _Order) + 1) |
|
#define | _Inc_atomic_counter(_Counter) (_Inc_atomic_counter_explicit(_Counter, memory_order_seq_cst)) |
|
#define | _Dec_atomic_counter_explicit(_Counter, _Order) (_Atomic_fetch_sub_4(&_Counter, 1, _Order) - 1) |
|
#define | _Dec_atomic_counter(_Counter) (_Dec_atomic_counter_explicit(_Counter, memory_order_seq_cst)) |
|
#define | _Load_atomic_counter_explicit(_Counter, _Order) _Atomic_load_4(&_Counter, _Order) |
|
#define | _Load_atomic_counter(_Counter) _Load_atomic_counter_explicit(_Counter, memory_order_seq_cst) |
|
#define | _Compare_increment_atomic_counter_explicit(_Counter, _Expected, _Order) |
|
#define | _Compare_increment_atomic_counter(_Counter, _Expected) |
|
#define _ATOMIC_FENCE_USES_LOCK 0 |
#define _ATOMIC_FLAG_USES_LOCK 0 |
#define _ATOMIC_MAXBYTES_LOCK_FREE 8 |
#define _Compare_increment_atomic_counter |
( |
|
_Counter, |
|
|
|
_Expected |
|
) |
| |
Value:
#define _Compare_increment_atomic_counter_explicit(_Counter, _Expected, _Order)
Definition: xatomic0.h:174
Definition: xatomic0.h:25
#define _Compare_increment_atomic_counter_explicit |
( |
|
_Counter, |
|
|
|
_Expected, |
|
|
|
_Order |
|
) |
| |
Value:
_Order, _Order)
int _Atomic_compare_exchange_weak_4(volatile _Uint4_t *, _Uint4_t *, _Uint4_t, memory_order, memory_order)
Definition: xatomic.h:1629
#define _Dec_atomic_counter_explicit |
( |
|
_Counter, |
|
|
|
_Order |
|
) |
| (_Atomic_fetch_sub_4(&_Counter, 1, _Order) - 1) |
#define _GENERIC_ATOMICS 0 /* nonzero for (non-conforming) generic */ |
#define _Get_atomic_count |
( |
|
_Counter | ) |
_Counter |
#define _Inc_atomic_counter_explicit |
( |
|
_Counter, |
|
|
|
_Order |
|
) |
| (_Atomic_fetch_add_4(&_Counter, 1, _Order) + 1) |
#define _Init_atomic_counter |
( |
|
_Counter, |
|
|
|
_Value |
|
) |
| _Counter = _Value |
#define _Load_atomic_counter_explicit |
( |
|
_Counter, |
|
|
|
_Order |
|
) |
| _Atomic_load_4(&_Counter, _Order) |
Enumerator |
---|
memory_order_relaxed |
|
memory_order_consume |
|
memory_order_acquire |
|
memory_order_release |
|
memory_order_acq_rel |
|
memory_order_seq_cst |
|
memory_order
Definition: xatomic0.h:19
Definition: xatomic0.h:24
Definition: xatomic0.h:21
Definition: xatomic0.h:20
Definition: xatomic0.h:25
Definition: xatomic0.h:23
Definition: xatomic0.h:22
int _Atomic_compare_exchange_strong_4(volatile _Uint4_t *_Tgt, _Uint4_t *_Exp, _Uint4_t _Value, memory_order _Order1, memory_order _Order2)
Definition: xatomic.h:1601
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
#define _INVALID_MEMORY_ORDER
Definition: xatomic.h:232
_Uint4_t _Fetch_add_release_4(volatile _Uint4_t *_Tgt, _Uint4_t _Value)
Definition: xatomic.h:1661
Definition: xatomic0.h:24
_Uint4_t _Fetch_add_seq_cst_4(volatile _Uint4_t *_Tgt, _Uint4_t _Value)
Definition: xatomic.h:1640
Definition: xatomic0.h:21
Definition: xatomic0.h:20
Definition: xatomic0.h:25
Definition: xatomic0.h:23
Definition: xatomic0.h:22
_Uint4_t _Fetch_add_acquire_4(volatile _Uint4_t *_Tgt, _Uint4_t _Value)
Definition: xatomic.h:1654
_Uint4_t _Fetch_add_relaxed_4(volatile _Uint4_t *_Tgt, _Uint4_t _Value)
Definition: xatomic.h:1647
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
_Uint4_t _Atomic_fetch_add_4(volatile _Uint4_t *_Tgt, _Uint4_t _Value, memory_order _Order)
Definition: xatomic.h:1668
#define _INVALID_MEMORY_ORDER
Definition: xatomic.h:232
_Uint4_t _Load_relaxed_4(volatile _Uint4_t *_Tgt)
Definition: xatomic.h:1422
_Uint4_t _Load_seq_cst_4(volatile _Uint4_t *_Tgt)
Definition: xatomic.h:1405
Definition: xatomic0.h:21
Definition: xatomic0.h:20
Definition: xatomic0.h:25
Definition: xatomic0.h:22
_Uint4_t _Load_acquire_4(volatile _Uint4_t *_Tgt)
Definition: xatomic.h:1437