aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 0cdc220fba..d4d3bb5de3 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -1159,8 +1159,6 @@ thread_timer(void *p)
static void
rb_thread_create_timer_thread(void)
{
- rb_enable_interrupt();
-
if (!timer_thread_id) {
pthread_attr_t attr;
int err;
@@ -1223,8 +1221,6 @@ rb_thread_create_timer_thread(void)
exit(EXIT_FAILURE);
}
}
-
- rb_disable_interrupt(); /* only timer thread recieve signal */
}
static int