mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
2 == MEMORY_PRIORITY_FOREGROUND
0 == MEMORY_PRIORITY_BACKGROUND svn path=/trunk/; revision=41385
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user