diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-10 01:27:25 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-10 01:27:25 +0000 |
| commit | c6f11108448bb152613807e622af35bddaa19084 (patch) | |
| tree | b4d528035b469b5ddffb98145c920b65795854e3 /thread_pthread.c | |
| parent | a8f9da079c475877e050c37bd5e4e7e31fd437c9 (diff) | |
| download | ruby-c6f11108448bb152613807e622af35bddaa19084.tar.gz ruby-c6f11108448bb152613807e622af35bddaa19084.tar.xz ruby-c6f11108448bb152613807e622af35bddaa19084.zip | |
* 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
Diffstat (limited to 'thread_pthread.c')
| -rw-r--r-- | thread_pthread.c | 1 |
1 files changed, 0 insertions, 1 deletions
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(); |
