Lock
TheLockmethod locks this storage unit for exclusive access.
ODStorageUnitKey Lock (in ODStorageUnitKey key);
key- The previously acquired identifier for a particular clone operation, or the value
kODNULLKeyif the valid storage unit key is unknown.- return value
- The identifier for the locked state of this storage unit.
DISCUSSION
Every thread must acquire the storage unit key for multithreading support.EXCEPTIONS
kODErrInvalidStorageUnitKey- The specified storage unit key is not valid.
SEE ALSO
TheODStorageUnitKeytype (page 903).
TheODStorageUnit::Unlockmethod (page 715).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help