PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

DelayForHardware

OSStatus DelayForHardware (AbsoluteTime absoluteTime);
--> absoluteTime
Amount of time to delay.
DESCRIPTION

DelayForHardware spins execution for a given time, so the computer does no useful work. Parameter absoluteTime is the amount of time to delay in processor-dependent units. You can call NanosecondsToAbsolute to obtain timing for the processor in your system. DelayFor Hardware may be called at any execution level.

EXECUTION CONTEXT

DelayForHardware may be called from task level, secondary interrupt level, or hardware interrupt level.

RETURN CODES
noErr 0 No error
Err -1 Routine failed

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)