Thread should be restarted in passive level.

svn path=/trunk/; revision=101
This commit is contained in:
Rex Jolliff 1998-11-29 19:24:46 +00:00
parent a06ebb79bb
commit e96765787f

View file

@ -134,6 +134,7 @@ VOID PsDispatchThread(VOID)
CurrentThread->Tcb.LastTick = TickCount.LowPart; CurrentThread->Tcb.LastTick = TickCount.LowPart;
CurrentThread->Tcb.ThreadState = THREAD_STATE_RUNNING; CurrentThread->Tcb.ThreadState = THREAD_STATE_RUNNING;
KeReleaseSpinLock(&ThreadListLock,irql); KeReleaseSpinLock(&ThreadListLock,irql);
KeLowerIrql(PASSIVE_LEVEL);
return; return;
} }
if (Candidate != NULL) if (Candidate != NULL)