[KERNEL32_WINETEST] Avoid calling WaitForMultipleObjectsEx with pseudo handle. Brough...
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 24 Nov 2015 19:38:03 +0000 (19:38 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 24 Nov 2015 19:38:03 +0000 (19:38 +0000)
svn path=/trunk/; revision=70099

rostests/winetests/kernel32/sync.c

index d76d7b4..b0233cb 100755 (executable)
@@ -2526,8 +2526,7 @@ START_TEST(sync)
     {
         if (!strcmp(argv[2], "apc_deadlock"))
         {
-            HANDLE handle = GetCurrentThread();
-            for (;;) WaitForMultipleObjectsEx(1, &handle, FALSE, INFINITE, TRUE);
+            for (;;) SleepEx(INFINITE, TRUE);
         }
         return;
     }