Fix typo in atomic_compare_exchange_weak()
This commit is contained in:
parent
31206a5bb8
commit
7f39b4f573
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ typedef struct {
|
|||
__atomic_compare_exchange(ptr, expected, &tmp, 1, success, failure); \
|
||||
})
|
||||
#define atomic_compare_exchange_weak(object, expected, desired) \
|
||||
atomic_compare_exchange_weak_explicit (PTR, VAL, DES, \
|
||||
atomic_compare_exchange_weak_explicit (object, expected, desired, \
|
||||
__ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST)
|
||||
|
||||
#define atomic_fetch_add(object, operand) \
|
||||
|
|
Loading…
Reference in a new issue