mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
- Release dispatcher lock if gate is already signaled.
See issue #2083 for more details. svn path=/trunk/; revision=26061
This commit is contained in:
parent
7ac91cf037
commit
6b126a39a9
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue