Lock
The Lock method 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
kODNULLKey if 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
The ODStorageUnitKey type (page 903).
The ODStorageUnit::Unlock method (page 715).