OSStatus SetInterruptTimer (
const AbsoluteTime *expirationTime,
SecondaryInterruptHandler2 handler,
void *p1,
TimerID *timer);
The parameter expirationTime is the current time plus the amount of time delay before calling the interrupt handler, expressed in AbsoluteTime units.
Parameter handler is the address of a secondary interrupt handler that is to be run when the specified time is reached.
Parameter p1 is the value that is passed as the first parameter to the secondary interrupt handler when the timer expires. The value of the second parameter passed to the secondary interrupt handler is set to the current program counter at the time the timer expired.
Parameter timer is updated with the ID of the timer that is created. This ID may be used in conjunction with CancelTimer.
IMPORTANT
If you use SetInterruptTimer in your code, you must provide a copy of System Enabler version 1.0.1 to Power Macintosh 9500 users who have Enabler version 1.0. If Enabler version 1.0.1 or later is already installed, the installer should not replace it. Only the Power Macintosh 9500 has a problem with SetInterruptTimer, and it occurs on only a few early units. Other Power Macintosh models are not affected. For further information, see the folder "New 9500 Enabler" in the PCI Device Driver Kit.