[ros-diffs] [dchapyshev] 41385: 2 == MEMORY_PRIORITY_FOREGROUND 0 == MEMORY_PRIORITY_BACKGROUND
dchapyshev at svn.reactos.org
dchapyshev at svn.reactos.org
Thu Jun 11 17:37:44 CEST 2009
Author: dchapyshev
Date: Thu Jun 11 19:37:43 2009
New Revision: 41385
URL: http://svn.reactos.org/svn/reactos?rev=41385&view=rev
Log:
2 == MEMORY_PRIORITY_FOREGROUND
0 == MEMORY_PRIORITY_BACKGROUND
Modified:
trunk/reactos/ntoskrnl/ps/process.c
Modified: trunk/reactos/ntoskrnl/ps/process.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/process.c?rev=41385&r1=41384&r2=41385&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ps/process.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/process.c [iso-8859-1] Thu Jun 11 19:37:43 2009
@@ -201,13 +201,13 @@
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;
}
More information about the Ros-diffs
mailing list