help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Types][Classes] Reference for unit 'process' (#fcl)

TProcess.Priority

Priority at which the process is running.

Declaration

Source position: process.pp line 125

published property TProcess.Priority: TProcessPriority
  read FProcessPriority
  write FProcessPriority;

Description

Priority determines the priority at which the process is running.

Priority Meaning
ppHigh The process runs at higher than normal priority.
ppIdle The process only runs when the system is idle (i.e. has nothing else to do)
ppNormal The process runs at normal priority.
ppRealTime The process runs at real-time priority.

Note that not all priorities can be set by any user. Usually, only users witha dministrative rights (the root user on Unix) can set a higher process priority.

On unix, the process priority is mapped on Nice values as follows:

Priority Nice value
ppHigh 20
ppIdle 20
ppNormal 0
ppRealTime -20

See also

TProcessPriority

  

type determining the priority of the newly started process.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505