Skip to content

[5.9] Mark DispatchTimeInterval as Sendable #789

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
Apr 25, 2023

Conversation

MaxDesiatov
Copy link
Contributor

This is an enum with associated values of Int type that are all Sendable, so should be safe mark the whole enum as such.

This change is low to no risk for 5.9 as it's additive and doesn't touch any other types or functions.

Resolves #787.

This is an `enum` with associated values of `Int` type that are all `Sendable`, so should be safe mark the whole `enum` as such.

This change is low to no risk for 5.9 as it's additive and doesn't touch any other types or functions.

Resolves #787.
@MaxDesiatov MaxDesiatov requested review from rokhinip and rnro April 21, 2023 11:34
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@ktoso
Copy link
Contributor

ktoso commented Apr 22, 2023

Thanks for the PR @MaxDesiatov but this is incomplete; here’s the patch we’d want: main...wip-time-sendable

CC @PriyaAvhad

@ktoso ktoso requested a review from PriyaAvhad April 24, 2023 06:25
@ktoso
Copy link
Contributor

ktoso commented Apr 24, 2023

@swift-ci please smoke test

@PriyaAvhad
Copy link
Contributor

LGTM!

@ktoso
Copy link
Contributor

ktoso commented Apr 25, 2023

@swift-ci please test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@ktoso ktoso merged commit 09b8e8d into release/5.9 Apr 25, 2023
@ktoso ktoso deleted the maxd/5.9-sendable-timeinterval branch April 25, 2023 11:42
@ktoso
Copy link
Contributor

ktoso commented Apr 25, 2023

Thanks everyone :)

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