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

What is the difference between isolation domain and concurrency domain? #130

Open
stzn opened this issue Jul 28, 2024 · 2 comments
Open

Comments

@stzn
Copy link

stzn commented Jul 28, 2024

The term “isolation domain” is used to refer to an independent unit of isolation in Data Race Safety.
Swift 6 Concurrency Migration Guide

However, it seems that the term “concurrency domain” is used for the same concept in The Swift Programming Language (TSPL).
The Swift Programming Language - Concurrency

If they refer to the same concept, which term is correct?
If these terms are different, what is the difference between them?

@stzn stzn changed the title Is Isolation domain same as concurrency domain? What is the difference between isolation domain and concurrency domain? Jul 28, 2024
@stzn
Copy link
Author

stzn commented Jul 28, 2024

And "concurrency context" as well.
https://developer.apple.com/documentation/swift/sendable

@mattmassicotte
Copy link
Collaborator

This is a really great observation. All these terms are equivalent.

@hborla do you have any opinions on which would be the most resonable to standardize around?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants