diff options
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 33443ac054..545cc2fa3b 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -1551,11 +1551,6 @@ mjit_worker(void *arg) { void (*worker_func)(void) = (void(*)(void))arg; -#ifdef PTHREAD_CANCEL_ENABLE - if (pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL) != 0) { - fprintf(stderr, "Cannot enable cancellation in MJIT worker\n"); - } -#endif #ifdef SET_CURRENT_THREAD_NAME SET_CURRENT_THREAD_NAME("ruby-mjitworker"); /* 16 byte including NUL */ #endif |