mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 13:11:22 +00:00
[NTOS:KE/x64] Set the idle thread's IdealProcessor for application processors
This commit is contained in:
parent
b1a9e72e92
commit
e5c5efe2ad
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ KiInitializeHandBuiltThread(
|
|||
KeInitializeThread(Process, Thread, NULL, NULL, NULL, NULL, NULL, Stack);
|
||||
|
||||
Thread->NextProcessor = Prcb->Number;
|
||||
Thread->IdealProcessor = Prcb->Number;
|
||||
Thread->Priority = HIGH_PRIORITY;
|
||||
Thread->State = Running;
|
||||
Thread->Affinity = (ULONG_PTR)1 << Prcb->Number;
|
||||
|
|
Loading…
Reference in a new issue