Skip to content

[Concurrency] Isolated global lets are not safe to access across actors. #69616

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

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

hborla
Copy link
Member

@hborla hborla commented Nov 2, 2023

Same as #69598 but I forgot global variables!

Global let variables are initialized upon first access, so they cannot be synchronously accessed across actors.

@hborla
Copy link
Member Author

hborla commented Nov 2, 2023

@swift-ci please smoke test

@hborla
Copy link
Member Author

hborla commented Nov 2, 2023

@swift-ci please test source compatibility

@hborla hborla force-pushed the isolated-global-let branch from 80d5303 to 04be278 Compare November 2, 2023 21:46
@hborla
Copy link
Member Author

hborla commented Nov 2, 2023

@swift-ci please smoke test

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

Successfully merging this pull request may close these issues.

1 participant