Instance Method
hasLock() hasLock hasLock
Whether the glyph has been prepared for synchronized access.
Declaration
func hasLock() -> BoolDeclaration
- (BOOL) hasLock;Declaration
hasLock() -> boolSee Also
Locking
Changes whether editing the glyph is disabled without registering undo.
Prepares the glyph 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 lock
Read() .Acquires exclusive access to glyph-level cached state.
Performs an operation while holding exclusive access to glyph-level cached state.
Releases exclusive access acquired with lock
Write() .Acquires shared access to the layer collection.
Performs an operation while holding shared access to the layer collection.
Releases shared access acquired with lock
Read .Layers() Acquires exclusive access to the layer collection.
Performs an operation while holding exclusive access to the layer collection.
Releases exclusive access acquired with lock
Write .Layers()
See Also
Locking
Changes whether editing the glyph is disabled without registering undo.
Prepares the glyph for synchronized access.
Acquires shared access to glyph-level cached state.
Releases shared access acquired with lock
Read lockRead .Acquires exclusive access to glyph-level cached state.
Releases exclusive access acquired with lock
Write lockWrite .Acquires shared access to the layer collection.
Releases shared access acquired with lock
Read lockLayers Read .Layers Acquires exclusive access to the layer collection.
Releases exclusive access acquired with lock
Write lockLayers Write .Layers