PriorityClass

          Property 
          Member of  ScriptUtils.Process 

Description
The priority class for the process.
Syntax
vPriorityClass = Process.PriorityClass
Process.PriorityClass = vPriorityClass
Returns
PriorityClasses - The process’s priority class is one of the following values.
Returns
This value, together with the priority value of each thread of the process, determines each thread’s base priority level.
The following table shows the base priority levels for combinations of priority class and priority value.

Process Priority Class

Thread Priority Level

1

IDLE_PRIORITY_CLASS, NORMAL_PRIORITY_CLASS, or HIGH_PRIORITY_CLASS

THREAD_PRIORITY_IDLE

2

IDLE_PRIORITY_CLASS

THREAD_PRIORITY_LOWEST

3

IDLE_PRIORITY_CLASS

THREAD_PRIORITY_BELOW_NORMAL

4

IDLE_PRIORITY_CLASS

THREAD_PRIORITY_NORMAL

5

Background NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_LOWEST

IDLE_PRIORITY_CLASS

THREAD_PRIORITY_ABOVE_NORMAL

6

Background NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_BELOW_NORMAL

IDLE_PRIORITY_CLASS

THREAD_PRIORITY_HIGHEST

7

Foreground NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_LOWEST

Background NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_NORMAL

8

Foreground NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_BELOW_NORMAL

NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_ABOVE_NORMAL

9

Foreground NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_NORMAL

NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_HIGHEST

10

Foreground NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_ABOVE_NORMAL

11

HIGH_PRIORITY_CLASS

THREAD_PRIORITY_LOWEST

Foreground NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_HIGHEST

12

HIGH_PRIORITY_CLASS

THREAD_PRIORITY_BELOW_NORMAL

13

HIGH_PRIORITY_CLASS

THREAD_PRIORITY_NORMAL

14

HIGH_PRIORITY_CLASS

THREAD_PRIORITY_ABOVE_NORMAL

15

IDLE_PRIORITY_CLASS, NORMAL_PRIORITY_CLASS, or HIGH_PRIORITY_CLASS

THREAD_PRIORITY_TIME_CRITICAL

HIGH_PRIORITY_CLASS

THREAD_PRIORITY_HIGHEST

16

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_IDLE

22

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_LOWEST

23

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_BELOW_NORMAL

24

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_NORMAL

25

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_ABOVE_NORMAL

26

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_HIGHEST

31

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_TIME_CRITICAL

See also
  Other links for PriorityClass
Methods of Process class
Process object. Timing informations, priority settings and Ids.
      Easy to use, hi-performance ASP file upload component with progress bar indicator. Let's you upload multiple files with size up to 2GB to a disk or database along with another form fields. Works with large posts, any character set (including unicode utf-8). Contains one-click multiple files/folders download with on-the-fly compression (Using BinaryWrite/BinaryRead).
      Hi-performance text file logging for ASP/VBScript/VBA applications. Lets you create daily/weekly/monthly log files with variable number of logged values and extra timing and performance info.
       Lets you work with safearray binary data in VBS/JS. It also enables conversion between binary and String data using several code pages. ZLib compress and uncompress functions. Lets you transfer files using compressed stream from a client to server using IE.
      This library also enables calling of some Kernel and Advapi functions (performance, timing, sleep, configuration ...) and enables native work with INI files.


© 1996 – 2005 Motobit Software, help{at}pstruh.cz, help v. 2.16.14