summaryrefslogtreecommitdiff
path: root/src/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/pthread_create.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c
index c6a23955..6f790f5c 100644
--- a/src/thread/pthread_create.c
+++ b/src/thread/pthread_create.c
@@ -130,7 +130,5 @@ void pthread_exit(void *result)
struct pthread *self = pthread_self();
struct __ptcb cb = { .__next = self->cancelbuf };
self->result = result;
- self->canceldisable = 1;
- self->cancelasync = 0;
__pthread_unwind_next(&cb);
}