Commit 9f18d217 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

kernel32/tests: Avoid busy-looping in APC deadlock tests.

Spotted by Amine Khaldi. Signed-off-by: 's avatarSebastian Lackner <sebastian@fds-team.de> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 46a208d6
......@@ -2580,8 +2580,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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment