AMX 86 Procedures
K
A
DAK
323
ajtkpry ajtkpry
Purpose Change Task Priority
Used by n Task o IS P n Timer Procedure n Restart Procedure n Exit Procedure
Setup AMXID taskid;
int priority;
int status;
.
.
status = ajtkpry(taskid, priority);
AX DX CX
Where taskid is the task id of the task whose priority is to be changed.
priority is the desired priority of the task (1 to 127).
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
AEROK = Call successful
AERNST = Invalid task id
AERITP = Invalid task priority (0 or > 127)
See Also ajtkcre, ajtkdel