Don't release dispatcher lock in ExpBoostThread, we want to re-acquire
it instead.
Modified: trunk/reactos/ntoskrnl/ex/resource.c
_____
Modified: trunk/reactos/ntoskrnl/ex/resource.c
--- trunk/reactos/ntoskrnl/ex/resource.c 2006-01-12 17:43:07 UTC
(rev 20806)
+++ trunk/reactos/ntoskrnl/ex/resource.c 2006-01-12 17:52:51 UTC
(rev 20807)
@@ -567,8 +567,8 @@
/* Update the kernel state */
KiSetPriorityThread(OwnerThread, 14, &Released);
- /* Release Lock if needed */
- if (!Released)
KeReleaseDispatcherDatabaseLockFromDpcLevel();
+ /* Reacquire lock if it got releases */
+ if (Released)
KeAcquireDispatcherDatabaseLockFromDpcLevel();
/* Make sure we're still at dispatch */
ASSERT(KeGetCurrentIrql() >= DISPATCH_LEVEL);