mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00: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