Important: The information in this document is obsolete and should not be used for new development.
InsXTime
Use theInsXTime
procedure to install a task if you want to take advantage of the drift-free, fixed-frequency timing services of the extended Time Manager.
PROCEDURE InsXTime (tmTaskPtr: QElemPtr);
tmTaskPtr
- A pointer to an extended task record to be installed in the queue.
DESCRIPTION
TheInsXTime
procedure adds the Time Manager task record specified bytmTaskPtr
to the Time Manager queue. ThetmTaskPtr
parameter must point to an extended Time Manager task record. Your application must fill in thetmAddr
field of that task. You should set thetmWakeUp
andtmReserved
fields to 0 the first time you callInsXTime
.With the extended Time Manager, you can set
tmAddr
toNIL
if you do not want a task to execute when the delay passed toPrimeTime
expires. Also,InsXTime
resets the high-order bit of theqType
field to 0.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forInsXTime
are:Registers on entry
A0 Address of the task recordRegisters on exitD0 Result codeRESULT CODES
noErr 0 No error