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

ruby-changes:16839

From: usa <ko1@a...>
Date: Mon, 2 Aug 2010 16:37:03 +0900 (JST)
Subject: [ruby-changes:16839] Ruby:r28834 (trunk): * thread_win32.c (native_thread_join): need to wait thread, of course.

usa	2010-08-02 16:35:35 +0900 (Mon, 02 Aug 2010)

  New Revision: 28834

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

  Log:
    * thread_win32.c (native_thread_join): need to wait thread, of course.
      [ruby-dev:41911]

  Modified files:
    trunk/ChangeLog
    trunk/thread_win32.c

Index: thread_win32.c
===================================================================
--- thread_win32.c	(revision 28833)
+++ thread_win32.c	(revision 28834)
@@ -507,7 +507,7 @@
 static void
 native_thread_join(HANDLE th)
 {
-    w32_wait_events(&th, 1, 0, 0);
+    w32_wait_events(&th, 1, INFINITE, 0);
 }
 
 #if USE_NATIVE_THREAD_PRIORITY
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 28833)
+++ ChangeLog	(revision 28834)
@@ -1,3 +1,8 @@
+Mon Aug  2 16:34:32 2010  NAKAMURA Usaku  <usa@r...>
+
+	* thread_win32.c (native_thread_join): need to wait thread, of course.
+	  [ruby-dev:41911]
+
 Mon Aug  2 12:22:22 2010  NAKAMURA Usaku  <usa@r...>
 
 	* file.c (file_expand_path): wrong condition. [ruby-core:31591]

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

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