diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-16 19:52:54 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-16 19:52:54 +0000 |
commit | 772a2811923e1634ff7c157abdc9b41740659af6 (patch) | |
tree | b9dd4e84c6e0b5059dacb566073b00c688dcd03d /thread_pthread.c | |
parent | f45d127ada4fd0f3d64788c13d5f3e0b27ba7062 (diff) |
* thread_pthread.c, thread_pthread.h: remove unused variables.
(native_thread_data_t::gvl_cond, native_thread_data_t::gvl_next)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 496600e478..ff9de86379 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -422,14 +422,12 @@ static void native_thread_init(rb_thread_t *th) { native_cond_initialize(&th->native_thread_data.sleep_cond, RB_CONDATTR_CLOCK_MONOTONIC); - native_cond_initialize(&th->native_thread_data.gvl_cond, 0); ruby_thread_set_native(th); } static void native_thread_destroy(rb_thread_t *th) { - native_cond_destroy(&th->native_thread_data.gvl_cond); native_cond_destroy(&th->native_thread_data.sleep_cond); } |