зеркало из https://github.com/github/ruby.git
* thread_pthread.c (gvl_destroy): fix cond_t leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
50b64ee7de
Коммит
affa47ae4d
|
@ -1,3 +1,7 @@
|
|||
Fri Jul 8 10:39:52 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* thread_pthread.c (gvl_destroy): fix cond_t leak.
|
||||
|
||||
Fri Jul 8 09:17:59 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* gc.c: Improve documentation
|
||||
|
|
|
@ -148,6 +148,9 @@ gvl_init(rb_vm_t *vm)
|
|||
static void
|
||||
gvl_destroy(rb_vm_t *vm)
|
||||
{
|
||||
native_cond_destroy(&vm->gvl.switch_wait_cond);
|
||||
native_cond_destroy(&vm->gvl.switch_cond);
|
||||
native_cond_destroy(&vm->gvl.cond);
|
||||
native_mutex_destroy(&vm->gvl.lock);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче