From 9cdf55485ac9783b43975d1fa68f92ebfa6bbdcc Mon Sep 17 00:00:00 2001 From: nagachika Date: Sun, 29 Jul 2012 16:00:36 +0000 Subject: * thread.c (thread_create_core): hide th->async_errinfo_mask_stack from ObjectSpace.each_object. refix of r36539. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'thread.c') diff --git a/thread.c b/thread.c index e4506c2374..d68fead92e 100644 --- a/thread.c +++ b/thread.c @@ -565,6 +565,7 @@ thread_create_core(VALUE thval, VALUE args, VALUE (*fn)(ANYARGS)) th->async_errinfo_queue = rb_ary_tmp_new(0); th->async_errinfo_queue_checked = 0; th->async_errinfo_mask_stack = rb_ary_dup(current_th->async_errinfo_mask_stack); + RBASIC(th->async_errinfo_mask_stack)->klass = 0; native_mutex_initialize(&th->interrupt_lock); if (GET_VM()->event_hooks != NULL) -- cgit v1.2.3