mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
- Fixed KeReleaseDispatcherDatabaseLockAtDpcLevel/KeReleaseDispatcherDatabaseLock.
svn path=/trunk/; revision=6069
This commit is contained in:
parent
f9cf46a778
commit
230ad74f48
1 changed files with 4 additions and 6 deletions
|
@ -68,9 +68,8 @@ VOID KeAcquireDispatcherDatabaseLock(BOOLEAN Wait)
|
|||
|
||||
VOID KeReleaseDispatcherDatabaseLockAtDpcLevel(BOOLEAN Wait)
|
||||
{
|
||||
DPRINT("KeReleaseDispatcherDatabaseLockAtDpcLevel(Wait %x)\n", Wait);
|
||||
assert(Wait == WaitSet);
|
||||
if (!Wait)
|
||||
DPRINT("KeReleaseDispatcherDatabaseLockAtDpcLevel(Wait %x) WaitSet=%x\n", Wait, WaitSet);
|
||||
if (Wait == WaitSet)
|
||||
{
|
||||
Owner = NULL;
|
||||
KeReleaseSpinLockFromDpcLevel(&DispatcherDatabaseLock);
|
||||
|
@ -79,9 +78,8 @@ VOID KeReleaseDispatcherDatabaseLockAtDpcLevel(BOOLEAN Wait)
|
|||
|
||||
VOID KeReleaseDispatcherDatabaseLock(BOOLEAN Wait)
|
||||
{
|
||||
DPRINT("KeReleaseDispatcherDatabaseLock(Wait %x)\n",Wait);
|
||||
assert(Wait==WaitSet);
|
||||
if (!Wait)
|
||||
DPRINT("KeReleaseDispatcherDatabaseLock(Wait %x) WaitSet=%x\n",Wait,WaitSet);
|
||||
if (Wait == WaitSet)
|
||||
{
|
||||
Owner = NULL;
|
||||
KeReleaseSpinLock(&DispatcherDatabaseLock, oldlvl);
|
||||
|
|
Loading…
Reference in a new issue