mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fix incorrect replacement
svn path=/trunk/; revision=14673
This commit is contained in:
parent
c614ba1a5e
commit
db6c8885b6
1 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ KiDispatchThreadNoLock(ULONG NewThreadStatus)
|
||||||
|
|
||||||
if (Candidate == CurrentThread) {
|
if (Candidate == CurrentThread) {
|
||||||
|
|
||||||
Candidate->State = Ready;
|
Candidate->State = Running;
|
||||||
KeReleaseDispatcherDatabaseLockFromDpcLevel();
|
KeReleaseDispatcherDatabaseLockFromDpcLevel();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -149,7 +149,7 @@ KiDispatchThreadNoLock(ULONG NewThreadStatus)
|
||||||
|
|
||||||
DPRINT("Scheduling %x(%d)\n",Candidate, CurrentPriority);
|
DPRINT("Scheduling %x(%d)\n",Candidate, CurrentPriority);
|
||||||
|
|
||||||
Candidate->State = Ready;
|
Candidate->State = Running;
|
||||||
|
|
||||||
OldThread = CurrentThread;
|
OldThread = CurrentThread;
|
||||||
CurrentThread = Candidate;
|
CurrentThread = Candidate;
|
||||||
|
|
Loading…
Reference in a new issue