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

ruby-changes:9376

From: usa <ko1@a...>
Date: Mon, 22 Dec 2008 19:12:20 +0900 (JST)
Subject: [ruby-changes:9376] Ruby:r20914 (trunk): * thread_win32.c (Init_native_thread): need to call

usa	2008-12-22 19:12:02 +0900 (Mon, 22 Dec 2008)

  New Revision: 20914

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

  Log:
    * thread_win32.c (Init_native_thread): need to call
      ruby_thread_set_native() here.

  Modified files:
    trunk/ChangeLog
    trunk/thread_win32.c

Index: thread_win32.c
===================================================================
--- thread_win32.c	(revision 20913)
+++ thread_win32.c	(revision 20914)
@@ -50,6 +50,7 @@
     rb_thread_t *th = GET_THREAD();
 
     ruby_native_thread_key = TlsAlloc();
+    ruby_thread_set_native(th);
     DuplicateHandle(GetCurrentProcess(),
 		    GetCurrentThread(),
 		    GetCurrentProcess(),
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 20913)
+++ ChangeLog	(revision 20914)
@@ -1,3 +1,8 @@
+Mon Dec 22 19:10:44 2008  NAKAMURA Usaku  <usa@r...>
+
+	* thread_win32.c (Init_native_thread): need to call
+	  ruby_thread_set_native() here.
+
 Mon Dec 22 18:00:36 2008  Hidetoshi NAGAI  <nagai@a...>
 
 	* ext/tk/tcltklib.c: fix wrong flag value.

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

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