[Overview][Constants][Types][Procedures and functions][Variables] | Reference for unit 'oldlinux' (#rtl) |
Return process priority
Source position: oldlinux.pp line 1357
function GetPriority( |
Which: Integer; |
Who: Integer |
):Integer; |
GetPriority returns 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 Prio_Process, Prio_PGrp, Prio_User, in which case Who is the process ID, Process group ID or User ID, respectively.
For an example, see Nice.
Error checking must be done on LinuxError, since a priority can be negative.
|
Set process priority |
|
|
Set process priority |
No notes exist for this page yet.