336
K
A
DAK
AMX 86 Procedures
ajtslv ajtslv
Purpose Change a Task's Time Slice Interval
Used by n Task n IS P n Timer Procedure n Restart Procedure n Exit Procedure
Setup AMXID taskid;
unsigned int tslice;
int status;
.
.
status = ajtslv(taskid, tslice);
AX DX CX
Where taskid is the task id of the task whose time slice interval is to be altered.
tslice is the new time slice interval in AMX system ticks.
(0 <= tslice < 65536)
Set tslice to 0 to stop time slicing the task.
Results Interrupts are untouched.
Status is returned.
AEROK = Call successful
AERNST = Invalid task id
See Also ajtson, ajtsof