[Overview][Constants][Types][Procedures and functions] | Reference for unit 'BaseUnix' (#rtl) |
Set process priority
Source position: bunxh.inc line 102
function fpSetPriority( |
Which: cint; |
Who: cint; |
What: cint |
):cint; |
fpSetPriority 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 FpNice.
The function returns zero on success, -1 on failure
Extended error information is returned by the FpGetErrno function.
|
Return process priority |
|
|
Set process priority |
No notes exist for this page yet.