mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 15:51:07 +00:00
nptl: Fix ___pthread_unregister_cancel_restore asynchronous restore
This was due a wrong revert done on 404656009b
.
Checked on x86_64-linux-gnu and i686-linux-gnu.
This commit is contained in:
parent
f2698954ff
commit
f27e5e2178
@ -71,7 +71,7 @@ ___pthread_unregister_cancel_restore (__pthread_unwind_buf_t *buf)
|
||||
return;
|
||||
|
||||
int cancelhandling = atomic_load_relaxed (&self->cancelhandling);
|
||||
if (cancelhandling & CANCELTYPE_BITMASK)
|
||||
if ((cancelhandling & CANCELTYPE_BITMASK) == 0)
|
||||
{
|
||||
int newval;
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user