Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 23 - Programming With Open Transport Reference / Functions
Entering and Leaving Hardware Interrupt Time /


OTLeaveInterrupt

Notifies Open Transport that you are done calling Open Transport functions from a hardware interrupt.

C INTERFACE
void OTLeaveInterrupt(void)
C++ INTERFACE
None. C++ applications use the C interface to this function.

DISCUSSION
The OTLeaveInterrupt function informs Open Transport that you are no longer calling Open Transport from within a routine that runs at hardware interrupt time. You call this function after you call the last Open Transport function you want to call from within the interrupt, but before you return from your interrupt handler.

Every call to the OTEnterInterrupt function must be matched by a call to the OTLeaveInterrupt function.

SPECIAL CONSIDERATIONS
Do not make this call without having already called the OTEnterInterrupt function.

For 680x0 based code, you must be sure that your A5 world is set correctly before making this call (that is, you must set it to the same value it had when you called the InitOpenTransport or the InitOpenTransportUtilities function).

SEE ALSO
The OTEnterInterrupt function.

"Hardware Interrupt Level".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998