Skip to content

Mark all closures in the .stream outputRedirection of TSC as @Sendable #1919

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
Jan 16, 2025

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jan 15, 2025

The closures aren’t guaranteed to be called on the same thread as the process was launched, which can cause assertion failure by the concurrency runtime.

rdar://142813605

…able`

The closures aren’t guaranteed to be called on the same thread as the process was launched, which can cause assertion failure by the concurrency runtime.

rdar://142813605
@ahoppen
Copy link
Member Author

ahoppen commented Jan 15, 2025

@swift-ci Please test

@ahoppen ahoppen merged commit 8d28ed1 into swiftlang:main Jan 16, 2025
3 checks passed
@ahoppen ahoppen deleted the output-redirection-sendable branch January 16, 2025 21:35
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