(C) 1998 AROS - The Amiga Research OS
NAME
BYTE SetTaskPri (task , priority)
LOCATION
In SysBase at offset 50
SYNOPSIS
struct Task * task
LONG priority
FUNCTION
Change the priority of a given task. As a general rule the higher the priority the more CPU time a task gets. Useful values are within -127 to 5.
INPUTS
task
Pointer to task structure.
priority
New priority of the task.
RESULT
Old task priority.
EXAMPLE
SEE ALSO
NOTES
BUGS
INTERNALS
HISTORY