- Add an ASSERT in KeRundownThread
svn path=/trunk/; revision=57466
{
/* Lock the thread */
KiAcquireThreadLock(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))
/* Check again, and make sure there's not already a boost */
if ((Thread->Priority < LOW_REALTIME_PRIORITY) &&
!(Thread->PriorityDecrement))
/* Release thread lock */
KiReleaseThreadLock(Thread);
}
/* Release thread lock */
KiReleaseThreadLock(Thread);
}
/* Release the dispatcher lokc */
KiReleaseDispatcherLock(OldIrql);
}
/* Release the dispatcher lokc */
KiReleaseDispatcherLock(OldIrql);
}
{
/* Get the Mutant */
Mutant = CONTAINING_RECORD(NextEntry, KMUTANT, MutantListEntry);
{
/* Get the Mutant */
Mutant = CONTAINING_RECORD(NextEntry, KMUTANT, MutantListEntry);
/* Make sure it's not terminating with APCs off */
if (Mutant->ApcDisable)
/* Make sure it's not terminating with APCs off */
if (Mutant->ApcDisable)