[win32k]
authorAleksey Bragin <aleksey@reactos.org>
Tue, 22 Sep 2009 21:50:33 +0000 (21:50 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Tue, 22 Sep 2009 21:50:33 +0000 (21:50 +0000)
- 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

index 4ab1ca4..77d1ef4 100644 (file)
@@ -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);