Instance Method
initLock()initLockinitLock
Prepares the object for synchronized access.
Declaration
func initLock()Declaration
- (void) initLock;Declaration
initLock()Discussion
This initializes internal data-race protection and does not affect whether editing operations may modify the object. Call this only while setting up an object, before it can be accessed concurrently.