summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-02 07:35:35 (GMT)
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-02 07:35:35 (GMT)
commit6198f539bb0897886f53e2ff77045a8d051fb5c1 (patch)
tree44ed075f33dec56117a7def4777312911a221cde /thread_win32.c
parent49e259ec587fd72d96210fcb33593f3955555795 (diff)
* 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
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_win32.c b/thread_win32.c
index 1391bec..894fad9 100644
--- a/thread_win32.c
+++ b/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