Important: The information in this document is obsolete and should not be used for new development.
OTDelay
Delays processing for a specified number of seconds.C INTERFACE
void OTDelay(UInt32 seconds)C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
seconds- The number of seconds to delay.
DISCUSSION
TheOTDelayfunction delays processing for the number of seconds specified in thesecondsparameter. While the delay is occurring,OTDelaycontinuously calls theOTIdlefunction.You can only call the
OTDelayfunction from within an application at system task time. This function is only provided for compatibility with the UNIXsleepfunction to assist with portability of UNIX code.
- IMPORTANT
- You should never call the
OTIdlefunction in production code on a Macintosh computer.![]()