Skip to content

[Concurrency] Add an environment variable to validate unchecked continuation usage. #61076

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
Sep 17, 2022

Conversation

mikeash
Copy link
Contributor

@mikeash mikeash commented Sep 13, 2022

When enabled, we track all active unchecked continuations in a global set, and fatal error if one is called twice.

rdar://97390481

@mikeash
Copy link
Contributor Author

mikeash commented Sep 13, 2022

@swift-ci please test

@mikeash
Copy link
Contributor Author

mikeash commented Sep 14, 2022

@swift-ci please test

…nuation usage.

When enabled, we track all active unchecked continuations in a global set, and fatal error if one is called twice.

rdar://97390481
@mikeash mikeash force-pushed the unsafe-continuation-validation branch from 03e4a11 to afc5116 Compare September 16, 2022 17:51
@mikeash
Copy link
Contributor Author

mikeash commented Sep 16, 2022

@swift-ci please test and merge

1 similar comment
@mikeash
Copy link
Contributor Author

mikeash commented Sep 16, 2022

@swift-ci please test and merge

@swift-ci swift-ci merged commit d93c022 into swiftlang:main Sep 17, 2022
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.

2 participants