Skip to content

[Concurrency] Unstructured tasks must not attempt to copy "parent (task local) pointers" #38218

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 2 commits into from
Jul 2, 2021

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Jul 2, 2021

resolves rdar://80032684

This fixes a crash when Task{} is used from a context that has a parent.

@ktoso ktoso requested a review from DougGregor July 2, 2021 02:45
@ktoso ktoso requested a review from drexin July 2, 2021 02:54
@ktoso
Copy link
Contributor Author

ktoso commented Jul 2, 2021

@swift-ci please smoke test and merge

Copy link
Contributor

@drexin drexin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@swift-ci swift-ci merged commit c3ae5a1 into swiftlang:main Jul 2, 2021
@ktoso ktoso deleted the wip-tasklocal branch July 2, 2021 07:25
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.

4 participants