mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
* allocatestack.c (setxid_signal_thread): Need to use
atomic_compare_and_exchange_bool_acq.
This commit is contained in:
@ -834,8 +834,8 @@ setxid_signal_thread (struct xid_command *cmdp, struct pthread *t)
|
||||
if ((ch & EXITING_BITMASK) != 0)
|
||||
return;
|
||||
}
|
||||
while (atomic_compare_and_exchange_val_acq (&t->cancelhandling,
|
||||
ch | SETXID_BITMASK, ch));
|
||||
while (atomic_compare_and_exchange_bool_acq (&t->cancelhandling,
|
||||
ch | SETXID_BITMASK, ch));
|
||||
}
|
||||
|
||||
int val;
|
||||
|
Reference in New Issue
Block a user