diff options
Diffstat (limited to 'src/thread/pthread_cancel.c')
-rw-r--r-- | src/thread/pthread_cancel.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/thread/pthread_cancel.c b/src/thread/pthread_cancel.c index f17ce882..4493931e 100644 --- a/src/thread/pthread_cancel.c +++ b/src/thread/pthread_cancel.c @@ -3,9 +3,6 @@ void __cancel() { - pthread_t self = __pthread_self(); - self->canceldisable = 1; - self->cancelasync = 0; pthread_exit(PTHREAD_CANCELED); } |