[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Set process priority
Source position: oldlinux.pp line 1358
procedure SetPriority( |
Which: Integer; |
Who: Integer; |
What: Integer |
); |
SetPriority sets the priority with which a process is running. Which process(es) is determined by the Which and Who variables. Which can be one of the pre-defined constants:
Prio is a value in the range -20 to 20.
For an example, see Nice.
Error checking must be done on LinuxError, since a priority can be negative.
|
Return process priority |
|
|
Set process priority |
lazarus-ccr.sourceforge.net |