mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Thread should be restarted in passive level.
svn path=/trunk/; revision=101
This commit is contained in:
parent
a06ebb79bb
commit
e96765787f
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue