mirror of git://sourceware.org/git/glibc.git
* allocatestack.c (setxid_signal_thread): Need to use
atomic_compare_and_exchange_bool_acq.
This commit is contained in:
parent
dff9a7a163
commit
b71ce91003
|
@ -1,3 +1,8 @@
|
||||||
|
2005-10-02 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* allocatestack.c (setxid_signal_thread): Need to use
|
||||||
|
atomic_compare_and_exchange_bool_acq.
|
||||||
|
|
||||||
2005-10-01 Ulrich Drepper <drepper@redhat.com>
|
2005-10-01 Ulrich Drepper <drepper@redhat.com>
|
||||||
Jakub Jelinek <jakub@redhat.com>
|
Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
|
|
@ -834,7 +834,7 @@ setxid_signal_thread (struct xid_command *cmdp, struct pthread *t)
|
||||||
if ((ch & EXITING_BITMASK) != 0)
|
if ((ch & EXITING_BITMASK) != 0)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while (atomic_compare_and_exchange_val_acq (&t->cancelhandling,
|
while (atomic_compare_and_exchange_bool_acq (&t->cancelhandling,
|
||||||
ch | SETXID_BITMASK, ch));
|
ch | SETXID_BITMASK, ch));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue