diff options
author | Chris Robinson <[email protected]> | 2016-11-17 00:46:46 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-11-17 00:46:46 -0800 |
commit | a502a41be340826585f9c91b3a8d9a52b5601b54 (patch) | |
tree | 6824358e6de3b8215a89bfaf64cfbbb3d4323f8b /OpenAL32 | |
parent | caead294f292cb6a8d75eaa4eeb26829a06f569c (diff) |
Stop using almemory_order_consume
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 2 | ||||
-rw-r--r-- | OpenAL32/alListener.c | 2 | ||||
-rw-r--r-- | OpenAL32/alSource.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index b860b2b0..4f1601ed 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -647,7 +647,7 @@ void UpdateEffectSlotProps(ALeffectslot *slot) next = ATOMIC_LOAD(&props->next, almemory_order_relaxed); } while(ATOMIC_COMPARE_EXCHANGE_WEAK(struct ALeffectslotProps*, &slot->FreeList, &props, next, almemory_order_seq_cst, - almemory_order_consume) == 0); + almemory_order_acquire) == 0); } /* Copy in current property values. */ diff --git a/OpenAL32/alListener.c b/OpenAL32/alListener.c index 08ece19d..4e99f24e 100644 --- a/OpenAL32/alListener.c +++ b/OpenAL32/alListener.c @@ -470,7 +470,7 @@ void UpdateListenerProps(ALCcontext *context) next = ATOMIC_LOAD(&props->next, almemory_order_relaxed); } while(ATOMIC_COMPARE_EXCHANGE_WEAK(struct ALlistenerProps*, &listener->FreeList, &props, next, almemory_order_seq_cst, - almemory_order_consume) == 0); + almemory_order_acquire) == 0); } /* Copy in current property values. */ diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index f20498f4..7f187dfe 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -2829,7 +2829,7 @@ static void UpdateSourceProps(ALsource *source, ALuint num_sends) next = ATOMIC_LOAD(&props->next, almemory_order_relaxed); } while(ATOMIC_COMPARE_EXCHANGE_WEAK(struct ALsourceProps*, &source->FreeList, &props, next, almemory_order_seq_cst, - almemory_order_consume) == 0); + almemory_order_acquire) == 0); } /* Copy in current property values. */ |