Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS/iOS main thread safety #2464

Closed
7 tasks done
madsmtm opened this issue Sep 2, 2022 · 1 comment
Closed
7 tasks done

macOS/iOS main thread safety #2464

madsmtm opened this issue Sep 2, 2022 · 1 comment
Assignees
Labels
B - bug Dang, that shouldn't have happened DS - ios DS - macos S - enhancement Wouldn't this be the coolest?

Comments

@madsmtm
Copy link
Member

madsmtm commented Sep 2, 2022

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

@madsmtm
Copy link
Member Author

madsmtm commented Feb 13, 2024

Pretty sure this is done now, so I'll close it, feel free to open a new issue if you encounter problems.

@madsmtm madsmtm closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened DS - ios DS - macos S - enhancement Wouldn't this be the coolest?
Development

No branches or pull requests

1 participant