in reply to Question on Win32::Process
NORMAL_PRIORITY_CLASS is exactly that. Use the normal priority for this process. Alternatives to are IDLE_, HIGH_ and REALTIME_PRIORITY_CLASS constants. These are the same values as you can set using the "set priority" submenu from the Task Manager context menu. On XP/2003 there are also ABOVE_NORMAL_PRIORITY and BELOW_NORMAL_PRIORITY, but these constants are not (yet) exported by Win32::Process.
Simplistically, when a higher priority task becomes eligible to run, it will take precedence over lower priority processes. Be aware that changing these values to other than NORMAL is inadvisable unless you have good reasons, and the process is written to operate properly at the chosen level.
For the full nitty gritty, see the MSDN explanations.
According to this documentation, the CREATE_NO_WINDOW flag is ignored!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Question on Win32::Process
by kprasanna_79 (Hermit) on Dec 29, 2005 at 07:39 UTC | |
by BrowserUk (Patriarch) on Dec 29, 2005 at 07:52 UTC |