[前][次][番号順一覧][スレッド一覧]

ruby-changes:9495

From: yugui <ko1@a...>
Date: Thu, 25 Dec 2008 18:58:47 +0900 (JST)
Subject: [ruby-changes:9495] Ruby:r21030 (ruby_1_9_1): merges r20976 from trunk into ruby_1_9_1.

yugui	2008-12-25 18:56:30 +0900 (Thu, 25 Dec 2008)

  New Revision: 21030

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21030

  Log:
    merges r20976 from trunk into ruby_1_9_1.
    * thread.c (thread_start_func_2): sets native thread key.

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/thread.c

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 21029)
+++ ruby_1_9_1/ChangeLog	(revision 21030)
@@ -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: ruby_1_9_1/thread.c
===================================================================
--- ruby_1_9_1/thread.c	(revision 21029)
+++ ruby_1_9_1/thread.c	(revision 21030)
@@ -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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]