Browse files

* thread_win32.c (native_thread_join): need to wait thread, of course.

  [ruby-dev:41911]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 49e259e commit 6198f539bb0897886f53e2ff77045a8d051fb5c1 @unak unak committed Aug 2, 2010
Showing with 6 additions and 1 deletion.
  1. +5 −0 ChangeLog
  2. +1 −1 thread_win32.c
View
5 ChangeLog
@@ -1,3 +1,8 @@
+Mon Aug 2 16:34:32 2010 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * 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@ruby-lang.org>
* file.c (file_expand_path): wrong condition. [ruby-core:31591]
View
2 thread_win32.c
@@ -507,7 +507,7 @@ native_thread_create(rb_thread_t *th)
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

0 comments on commit 6198f53

Please sign in to comment.