From 4606a3076d3c2b5f95d5f4caca12c3f11eef0bed Mon Sep 17 00:00:00 2001 From: Michael Martin Date: Thu, 14 May 2009 07:11:00 +0000 Subject: [PATCH] - Wait_thread_proc: Pass the correct value WaitAny vice FALSE to NtWaitForMultipleObjects. Fixes INFINITE wait when running kernel32_winetest for thread. svn path=/trunk/; revision=40917 --- reactos/lib/rtl/wait.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/rtl/wait.c b/reactos/lib/rtl/wait.c index 914d7e79843..543d5a44769 100644 --- a/reactos/lib/rtl/wait.c +++ b/reactos/lib/rtl/wait.c @@ -55,7 +55,7 @@ Wait_thread_proc(LPVOID Arg) { Status = NtWaitForMultipleObjects( 2, handles, - FALSE, + WaitAny, alertable, get_nt_timeout( &timeout, Wait->Milliseconds ) );