ruby-changes:20089
From: ko1 <ko1@a...>
Date: Fri, 17 Jun 2011 04:53:07 +0900 (JST)
Subject: [ruby-changes:20089] ko1:r32136 (trunk): * thread_pthread.c, thread_pthread.h: remove unused variables.
ko1 2011-06-17 04:52:54 +0900 (Fri, 17 Jun 2011) New Revision: 32136 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32136 Log: * thread_pthread.c, thread_pthread.h: remove unused variables. (native_thread_data_t::gvl_cond, native_thread_data_t::gvl_next) Modified files: trunk/ChangeLog trunk/thread_pthread.c trunk/thread_pthread.h Index: ChangeLog =================================================================== --- ChangeLog (revision 32135) +++ ChangeLog (revision 32136) @@ -1,3 +1,8 @@ +Fri Jun 17 04:48:22 2011 Koichi Sasada <ko1@a...> + + * thread_pthread.c, thread_pthread.h: remove unused variables. + (native_thread_data_t::gvl_cond, native_thread_data_t::gvl_next) + Thu Jun 16 14:32:31 2011 NARUSE, Yui <naruse@r...> * time.c (rb_time_new): prevent overflow by "* 1000". Index: thread_pthread.c =================================================================== --- thread_pthread.c (revision 32135) +++ thread_pthread.c (revision 32136) @@ -422,14 +422,12 @@ 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); } Index: thread_pthread.h =================================================================== --- thread_pthread.h (revision 32135) +++ thread_pthread.h (revision 32136) @@ -28,8 +28,6 @@ typedef struct native_thread_data_struct { void *signal_thread_list; rb_thread_cond_t sleep_cond; - rb_thread_cond_t gvl_cond; - struct rb_thread_struct *gvl_next; } native_thread_data_t; #include <semaphore.h> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/