aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 62bddb722f..b26148bf40 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -416,7 +416,6 @@ native_sleep(rb_thread_t *th, struct timeval *tv)
}
th->status = THREAD_STOPPED;
- pthread_cond_init(&th->native_thread_data.sleep_cond, 0);
thread_debug("native_sleep %ld\n", tv ? tv->tv_sec : -1);
GVL_UNLOCK_BEGIN();