summaryrefslogtreecommitdiff
path: root/linuxthreads/cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/cancel.c')
-rw-r--r--linuxthreads/cancel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/cancel.c b/linuxthreads/cancel.c
index d8053ca899..2844210a87 100644
--- a/linuxthreads/cancel.c
+++ b/linuxthreads/cancel.c
@@ -230,5 +230,6 @@ void __pthread_perform_cleanup(char *currentframe)
}
/* And the TSD which needs special help. */
+ THREAD_SETMEM (self, p_cancelstate, PTHREAD_CANCEL_DISABLE);
__libc_thread_freeres ();
}