* thread_pthread.c (native_thread_destroy): Fixed gvl_cond leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1695653f54
commit
237edd7a2f
@ -1,3 +1,7 @@
|
||||
Mon Dec 20 20:03:21 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* thread_pthread.c (native_thread_destroy): Fixed gvl_cond leak.
|
||||
|
||||
Mon Dec 20 13:49:05 2010 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* NEWS: Add item for RDoc 3.0.1
|
||||
|
@ -340,6 +340,7 @@ static void
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user