Fix incorrect replacement
Modified: trunk/reactos/ntoskrnl/ke/kthread.c
_____
Modified: trunk/reactos/ntoskrnl/ke/kthread.c
--- trunk/reactos/ntoskrnl/ke/kthread.c 2005-04-18 15:51:21 UTC (rev
14672)
+++ trunk/reactos/ntoskrnl/ke/kthread.c 2005-04-18 16:25:53 UTC (rev
14673)
@@ -137,7 +137,7 @@
if (Candidate == CurrentThread) {
- Candidate->State = Ready;
+ Candidate->State = Running;
KeReleaseDispatcherDatabaseLockFromDpcLevel();
return;
}
@@ -149,7 +149,7 @@
DPRINT("Scheduling %x(%d)\n",Candidate, CurrentPriority);
- Candidate->State = Ready;
+ Candidate->State = Running;
OldThread = CurrentThread;
CurrentThread = Candidate;