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 27 - Utilities Reference / Functions
Locking Functions /


OTClearLock

Clears a lock and marks the end of a critical section.

C INTERFACE
void OTClearLock    (OTLock* lockPtr)
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
lockPtr
A pointer to a lock that you want to release.
DISCUSSION
This function clears the lock specified by the lockPtr parameter. You should only attempt to clear the lock if OTAquireLock returned true.

Use the OTAcquireLock function to acquire a lock to a critical section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998