mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +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:
@ -74,7 +74,7 @@ __assert_fail_base (const char *fmt, const char *assertion, const char *file,
|
||||
|
||||
/* We have to free the old buffer since the application might
|
||||
catch the SIGABRT signal. */
|
||||
struct abort_msg_s *old = atomic_exchange_acq (&__abort_msg, buf);
|
||||
struct abort_msg_s *old = atomic_exchange_acquire (&__abort_msg, buf);
|
||||
|
||||
if (old != NULL)
|
||||
__munmap (old, old->size);
|
||||
|
Reference in New Issue
Block a user