From dacdbb5e50de5a282c87aca1c29fa274b1ebfc7c Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Tue, 22 Sep 2009 21:50:33 +0000 Subject: [PATCH] [win32k] - Giannis Adamopoulos: Don't do callbacks to usermode when holding the lock. Fixes the famous "VMWare video driver installer 2nd stage hang" bug. Signed off by James Tabor. See issue #2666 for more details. svn path=/trunk/; revision=43119 --- reactos/subsystems/win32/win32k/ntuser/msgqueue.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/msgqueue.c b/reactos/subsystems/win32/win32k/ntuser/msgqueue.c index 4ab1ca4d5cf..77d1ef44968 100644 --- a/reactos/subsystems/win32/win32k/ntuser/msgqueue.c +++ b/reactos/subsystems/win32/win32k/ntuser/msgqueue.c @@ -534,11 +534,6 @@ co_MsqPeekHardwareMessage(PUSER_MESSAGE_QUEUE MessageQueue, PWINDOW_OBJECT Windo UserMode, FALSE, NULL, NULL); UserEnterCo(); - - while (co_MsqDispatchOneSentMessage(MessageQueue)) - { - ; - } } while (NT_SUCCESS(WaitStatus) && STATUS_WAIT_0 != WaitStatus); -- 2.17.1