mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:15:52 +00:00
2 == MEMORY_PRIORITY_FOREGROUND
0 == MEMORY_PRIORITY_BACKGROUND svn path=/trunk/; revision=41385
This commit is contained in:
parent
bdee30aee5
commit
d44cbb4ee0
1 changed files with 2 additions and 2 deletions
|
@ -201,13 +201,13 @@ PspComputeQuantumAndPriority(IN PEPROCESS Process,
|
|||
if (Mode == PsProcessPriorityForeground)
|
||||
{
|
||||
/* Set the memory priority and use priority separation */
|
||||
MemoryPriority = 2;
|
||||
MemoryPriority = MEMORY_PRIORITY_FOREGROUND;
|
||||
i = PsPrioritySeparation;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Set the background memory priority and no separation */
|
||||
MemoryPriority = 0;
|
||||
MemoryPriority = MEMORY_PRIORITY_BACKGROUND;
|
||||
i = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue