From c6f11108448bb152613807e622af35bddaa19084 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 10 Apr 2008 01:27:25 +0000 Subject: * thread_pthread.c (native_sleep): sleep_cond is initialized at creation. [ruby-Patches-19361]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_pthread.c | 1 - 1 file changed, 1 deletion(-) (limited to 'thread_pthread.c') diff --git a/thread_pthread.c b/thread_pthread.c index 62bddb722..b26148bf4 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(); -- cgit