Skip to content

[6.0][concurrency] Mark the global _emptyDequeStorage as nonisolated(unsafe). #74562

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
Jun 20, 2024

Conversation

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented Jun 20, 2024

Explanation: This is just an internal global that is only written to during initialization. I validated together with @ktoso that there aren't any write uses to it. This just turns off a warning in the concurrency library due to strict concurrency.

  • rdar://130171701

Original PRs:

Risk: Low.
Testing: N/A.
Reviewer: @ktoso

We just use it as a way to initialize values. We will always just read from it
and copy from it.

(cherry picked from commit 7e8daa8)
@gottesmm gottesmm requested a review from hborla June 20, 2024 00:26
@gottesmm gottesmm requested a review from a team as a code owner June 20, 2024 00:26
@gottesmm
Copy link
Contributor Author

@swift-ci test

@gottesmm gottesmm enabled auto-merge June 20, 2024 00:26
@ktoso
Copy link
Contributor

ktoso commented Jun 20, 2024

@swift-ci test macOS

@ktoso
Copy link
Contributor

ktoso commented Jun 20, 2024

Ci had an outage, restarted mac CI

@gottesmm gottesmm merged commit ecda180 into swiftlang:release/6.0 Jun 20, 2024
5 checks passed
@gottesmm gottesmm deleted the release/6.0-130171701 branch June 20, 2024 18:01
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.

3 participants