mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:55:56 +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)
|
if (Mode == PsProcessPriorityForeground)
|
||||||
{
|
{
|
||||||
/* Set the memory priority and use priority separation */
|
/* Set the memory priority and use priority separation */
|
||||||
MemoryPriority = 2;
|
MemoryPriority = MEMORY_PRIORITY_FOREGROUND;
|
||||||
i = PsPrioritySeparation;
|
i = PsPrioritySeparation;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Set the background memory priority and no separation */
|
/* Set the background memory priority and no separation */
|
||||||
MemoryPriority = 0;
|
MemoryPriority = MEMORY_PRIORITY_BACKGROUND;
|
||||||
i = 0;
|
i = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue