mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 06:15:48 +00:00
[NTOSKRNL]
- Add an ASSERT in KeRundownThread svn path=/trunk/; revision=57466
This commit is contained in:
parent
28259f442f
commit
b82de619ca
1 changed files with 3 additions and 2 deletions
|
@ -241,7 +241,7 @@ KeBoostPriorityThread(IN PKTHREAD Thread,
|
|||
{
|
||||
/* Lock the thread */
|
||||
KiAcquireThreadLock(Thread);
|
||||
|
||||
|
||||
/* Check again, and make sure there's not already a boost */
|
||||
if ((Thread->Priority < LOW_REALTIME_PRIORITY) &&
|
||||
!(Thread->PriorityDecrement))
|
||||
|
@ -266,7 +266,7 @@ KeBoostPriorityThread(IN PKTHREAD Thread,
|
|||
/* Release thread lock */
|
||||
KiReleaseThreadLock(Thread);
|
||||
}
|
||||
|
||||
|
||||
/* Release the dispatcher lokc */
|
||||
KiReleaseDispatcherLock(OldIrql);
|
||||
}
|
||||
|
@ -457,6 +457,7 @@ KeRundownThread(VOID)
|
|||
{
|
||||
/* Get the Mutant */
|
||||
Mutant = CONTAINING_RECORD(NextEntry, KMUTANT, MutantListEntry);
|
||||
ASSERT_MUTANT(Mutant);
|
||||
|
||||
/* Make sure it's not terminating with APCs off */
|
||||
if (Mutant->ApcDisable)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue