[Overview][Constants][Types][Procedures and functions] |
Set process priority
Source position: bunxh.inc line 97
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 |