From: Aleksey Bragin Date: Tue, 22 Sep 2009 21:50:33 +0000 (+0000) Subject: [win32k] X-Git-Tag: ReactOS-0.3.11~800 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=dacdbb5e50de5a282c87aca1c29fa274b1ebfc7c [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 --- 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);