Fix incorrect replacement

svn path=/trunk/; revision=14673
This commit is contained in:
Alex Ionescu 2005-04-18 16:25:53 +00:00
parent c614ba1a5e
commit db6c8885b6

View file

@ -137,7 +137,7 @@ KiDispatchThreadNoLock(ULONG NewThreadStatus)
if (Candidate == CurrentThread) {
Candidate->State = Ready;
Candidate->State = Running;
KeReleaseDispatcherDatabaseLockFromDpcLevel();
return;
}
@ -149,7 +149,7 @@ KiDispatchThreadNoLock(ULONG NewThreadStatus)
DPRINT("Scheduling %x(%d)\n",Candidate, CurrentPriority);
Candidate->State = Ready;
Candidate->State = Running;
OldThread = CurrentThread;
CurrentThread = Candidate;