- Release dispatcher lock if gate is already signaled.

See issue #2083 for more details.

svn path=/trunk/; revision=26061
This commit is contained in:
Alex Ionescu 2007-03-11 00:42:18 +00:00
parent 7ac91cf037
commit 6b126a39a9

View file

@ -75,6 +75,9 @@ KeWaitForGate(IN PKGATE Gate,
KiReleaseDispatcherObject(&Gate->Header);
KiReleaseThreadLock(Thread);
/* Release the gate lock */
if (Queue) KiReleaseDispatcherLockFromDpcLevel();
/* Release the APC lock and return */
KiReleaseApcLock(&ApcLock);
break;