mirror of
https://github.com/reactos/reactos.git
synced 2026-06-08 08:52:59 +08:00
Fix incorrect replacement
svn path=/trunk/; revision=14673
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user