Author: akhaldi
Date: Tue Nov 24 19:38:03 2015
New Revision: 70099
URL:
http://svn.reactos.org/svn/reactos?rev=70099&view=rev
Log:
[KERNEL32_WINETEST] Avoid calling WaitForMultipleObjectsEx with pseudo handle. Brought to
you by Sebastian Lackner.
Modified:
trunk/rostests/winetests/kernel32/sync.c
Modified: trunk/rostests/winetests/kernel32/sync.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/kernel32/sync.c…
==============================================================================
--- trunk/rostests/winetests/kernel32/sync.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/kernel32/sync.c [iso-8859-1] Tue Nov 24 19:38:03 2015
@@ -2526,8 +2526,7 @@
{
if (!strcmp(argv[2], "apc_deadlock"))
{
- HANDLE handle = GetCurrentThread();
- for (;;) WaitForMultipleObjectsEx(1, &handle, FALSE, INFINITE, TRUE);
+ for (;;) SleepEx(INFINITE, TRUE);
}
return;
}