mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-10 11:20:10 +00:00
nptl: Fix ___pthread_unregister_cancel_restore asynchronous restore
This was due a wrong revert done on404656009b
. Checked on x86_64-linux-gnu and i686-linux-gnu. (cherry picked from commitf27e5e2178
)
This commit is contained in:
parent
cd4f43be3d
commit
51e2d3b53b
@ -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