Skip to content

[6.0] Adopt Sendable in DispatchQueue and similar types #823

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
Mar 29, 2024

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Mar 29, 2024

Description: A few well known types like DispatchSemaphore, DispatchIO, DispatchGroup, DispatchQueue, DispatchSource should all be Sendable. This also adds a missing (as compared to Apple platforms) @Sendable to queue.async APIs.
Risk: Low, missing annotations.
Reviewed by: @rokhinip
Testing: CI testing
Original PR: #821
Radar: rdar://123284763

@ktoso ktoso requested review from rokhinip and PriyaAvhad March 29, 2024 02:30
@ktoso
Copy link
Contributor Author

ktoso commented Mar 29, 2024

@swift-ci please test

@ktoso ktoso changed the base branch from main to release/6.0 March 29, 2024 04:09
@ktoso ktoso merged commit 03b166c into swiftlang:release/6.0 Mar 29, 2024
2 checks passed
@ktoso ktoso deleted the pick-sendable branch March 29, 2024 05:09
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