projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ac91cf
)
- Release dispatcher lock if gate is already signaled.
author
Alex Ionescu
<aionescu@gmail.com>
Sun, 11 Mar 2007 00:42:18 +0000
(
00:42
+0000)
committer
Alex Ionescu
<aionescu@gmail.com>
Sun, 11 Mar 2007 00:42:18 +0000
(
00:42
+0000)
See issue #2083 for more details.
svn path=/trunk/; revision=26061
reactos/ntoskrnl/ke/gate.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/ke/gate.c
b/reactos/ntoskrnl/ke/gate.c
index
f45dc75
..
ab1c72a
100644
(file)
--- a/
reactos/ntoskrnl/ke/gate.c
+++ b/
reactos/ntoskrnl/ke/gate.c
@@
-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;