ruby-changes:18229
From: kosaki <ko1@a...>
Date: Mon, 20 Dec 2010 19:25:21 +0900 (JST)
Subject: [ruby-changes:18229] Ruby:r30252 (trunk): * thread_pthread.c (native_thread_destroy): Fixed gvl_cond leak.
kosaki 2010-12-20 19:25:02 +0900 (Mon, 20 Dec 2010) New Revision: 30252 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30252 Log: * thread_pthread.c (native_thread_destroy): Fixed gvl_cond leak. Modified files: trunk/ChangeLog trunk/thread_pthread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 30251) +++ ChangeLog (revision 30252) @@ -1,3 +1,7 @@ +Mon Dec 20 20:03:21 2010 KOSAKI Motohiro <kosaki.motohiro@g...> + + * thread_pthread.c (native_thread_destroy): Fixed gvl_cond leak. + Mon Dec 20 13:49:05 2010 Eric Hodel <drbrain@s...> * NEWS: Add item for RDoc 3.0.1 Index: thread_pthread.c =================================================================== --- thread_pthread.c (revision 30251) +++ thread_pthread.c (revision 30252) @@ -340,6 +340,7 @@ native_thread_destroy(rb_thread_t *th) { pthread_mutex_destroy(&th->interrupt_lock); + pthread_cond_destroy(&th->native_thread_data.gvl_cond); pthread_cond_destroy(&th->native_thread_data.sleep_cond); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/