mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Use atomic_exchange_release/acquire
Rename atomic_exchange_rel/acq to use atomic_exchange_release/acquire since these map to the standard C11 atomic builtins. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -4718,7 +4718,7 @@ static void malloc_consolidate(mstate av)
|
||||
maxfb = &fastbin (av, NFASTBINS - 1);
|
||||
fb = &fastbin (av, 0);
|
||||
do {
|
||||
p = atomic_exchange_acq (fb, NULL);
|
||||
p = atomic_exchange_acquire (fb, NULL);
|
||||
if (p != 0) {
|
||||
do {
|
||||
{
|
||||
|
Reference in New Issue
Block a user