mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +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) {
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue