Instance Method
lockWrite()lockWritelockWrite
Acquires exclusive access to glyph-level cached state.
Declaration
func lockWrite()Declaration
- (void) lockWrite;Declaration
lockWrite()Discussion
Balance this call with unlockWrite()unlockWriteunlockWrite on the same thread. Upgrading from read access is not atomic, so values observed before the upgrade may change.
See Also
Locking
Changes whether editing the glyph is disabled without registering undo.
Prepares the glyph for synchronized access.
Whether the glyph has been prepared for synchronized access.
Acquires shared access to glyph-level cached state.
Performs an operation while holding shared access to glyph-level cached state.
Releases shared access acquired with lockRead().
Performs an operation while holding exclusive access to glyph-level cached state.
Releases exclusive access acquired with lockWrite().
Acquires shared access to the layer collection.
Performs an operation while holding shared access to the layer collection.
Releases shared access acquired with lockReadLayers().
Acquires exclusive access to the layer collection.
Performs an operation while holding exclusive access to the layer collection.
Releases exclusive access acquired with lockWriteLayers().
See Also
Locking
Changes whether editing the glyph is disabled without registering undo.
Prepares the glyph for synchronized access.
Whether the glyph has been prepared for synchronized access.
Acquires shared access to glyph-level cached state.
Releases shared access acquired with lockReadlockRead.
Releases exclusive access acquired with lockWritelockWrite.
Acquires shared access to the layer collection.
Releases shared access acquired with lockReadLayerslockReadLayers.
Acquires exclusive access to the layer collection.
Releases exclusive access acquired with lockWriteLayerslockWriteLayers.