ruby-changes:9438
From: nobu <ko1@a...>
Date: Thu, 25 Dec 2008 01:53:03 +0900 (JST)
Subject: [ruby-changes:9438] Ruby:r20976 (mvm, trunk): * thread.c (thread_start_func_2): sets native thread key.
nobu 2008-12-25 01:52:38 +0900 (Thu, 25 Dec 2008) New Revision: 20976 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20976 Log: * thread.c (thread_start_func_2): sets native thread key. Modified files: branches/mvm/ChangeLog branches/mvm/thread.c trunk/ChangeLog trunk/thread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 20975) +++ ChangeLog (revision 20976) @@ -1,3 +1,7 @@ +Thu Dec 25 01:52:34 2008 Nobuyoshi Nakada <nobu@r...> + + * thread.c (thread_start_func_2): sets native thread key. + Thu Dec 25 01:09:23 2008 TAKAO Kouji <kouji@t...> * test/readline/test_readline_history.rb: check the encoding that Index: thread.c =================================================================== --- thread.c (revision 20975) +++ thread.c (revision 20976) @@ -362,6 +362,8 @@ rb_thread_t *main_th; VALUE errinfo = Qnil; + ruby_thread_set_native(th); + th->machine_stack_start = stack_start; #ifdef __ia64 th->machine_register_stack_start = register_stack_start; Index: mvm/ChangeLog =================================================================== --- mvm/ChangeLog (revision 20975) +++ mvm/ChangeLog (revision 20976) @@ -1,3 +1,7 @@ +Thu Dec 25 01:52:34 2008 Nobuyoshi Nakada <nobu@r...> + + * thread.c (thread_start_func_2): sets native thread key. + Thu Dec 25 01:48:53 2008 Nobuyoshi Nakada <nobu@r...> * thread.c (Init_Thread): separated per-process initialization Index: mvm/thread.c =================================================================== --- mvm/thread.c (revision 20975) +++ mvm/thread.c (revision 20976) @@ -378,6 +378,8 @@ rb_thread_t *main_th; VALUE errinfo = Qnil; + ruby_thread_set_native(th); + th->machine_stack_start = stack_start; #ifdef __ia64 th->machine_register_stack_start = register_stack_start; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/