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

The coroutines guide should mention happens-before guarantees #4251

Open
dkhalanskyjb opened this issue Oct 16, 2024 · 0 comments
Open

The coroutines guide should mention happens-before guarantees #4251

dkhalanskyjb opened this issue Oct 16, 2024 · 0 comments
Labels
guide Issues with the coroutines guide on the website

Comments

@dkhalanskyjb
Copy link
Collaborator

There are happens-before guarantees for executing the same coroutine even when it changes threads: https://proandroiddev.com/what-is-concurrent-access-to-mutable-state-f386e5cb8292 We occasionally get asked about this, and https://kotlinlang.org/docs/shared-mutable-state-and-concurrency.html has no mention of happens-before.

@dkhalanskyjb dkhalanskyjb added the guide Issues with the coroutines guide on the website label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guide Issues with the coroutines guide on the website
Projects
None yet
Development

No branches or pull requests

1 participant