Skip to content

macOS/iOS main thread safety #2464

@madsmtm

Description

@madsmtm

macOS and iOS have the pervasive concept of "main thread safety", which essentially just means that every UI operation has to happen on the main thread. We have some support for this in macos::util::async, but this has been developed more on a case-by-case basis, which is not the way to do thread safety; remember, it is not just certain APIs that are thread unsafe, and the rest are fine, every API is thread unsafe unless documented otherwise!

TODO

Metadata

Metadata

Assignees

Labels

B - bugDang, that shouldn't have happenedDS - appkitAffects the AppKit/macOS backendDS - uikitAffects the UIKit backend (iOS, tvOS, watchOS, visionOS)S - enhancementWouldn't this be the coolest?

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions