- Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
- Chapter 27 - Utilities Reference / Functions
- Idling and Delaying Processing /
OTIdle
Provides idle time to Open Transport.
C INTERFACE
void OTIdle(void)
C++ INTERFACE
None. C++ applications use the C interface to this function.
DISCUSSION
You can call the OTIdle function while you are waiting for asynchronous provider operations to complete. It is not necessary for the correct operation of Open Transport to call this function, it is provided for compatibility with existing programs that use an idling function.
SPECIAL CONSIDERATIONS
You cannot call the OTIdle function at primary interrupt time or at deferred task time. This function does not call the SystemTask, WaitNextEvent, or GetNextEvent functions.
- IMPORTANT
- You should never call the
OTIdle function in production code on a Macintosh computer.
© Apple Computer, Inc.
15 JAN 1998