ruby-changes:24519
From: nagachika <ko1@a...>
Date: Mon, 30 Jul 2012 01:00:47 +0900 (JST)
Subject: [ruby-changes:24519] nagachika:r36570 (trunk): * thread.c (thread_create_core): hide th->async_errinfo_mask_stack from
nagachika 2012-07-30 01:00:36 +0900 (Mon, 30 Jul 2012) New Revision: 36570 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36570 Log: * thread.c (thread_create_core): hide th->async_errinfo_mask_stack from ObjectSpace.each_object. refix of r36539. Modified files: trunk/ChangeLog trunk/thread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 36569) +++ ChangeLog (revision 36570) @@ -1,3 +1,8 @@ +Sun Jul 29 15:44:47 2012 CHIKANAGA Tomoyuki <nagachika@r...> + + * thread.c (thread_create_core): hide th->async_errinfo_mask_stack from + ObjectSpace.each_object. refix of r36539. + Sun Jul 29 23:57:27 2012 Nobuyoshi Nakada <nobu@r...> * ext/socket/option.c (inet_ntop): use rb_w32_inet_ntop, instead of Index: thread.c =================================================================== --- thread.c (revision 36569) +++ thread.c (revision 36570) @@ -565,6 +565,7 @@ 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/