Skip to content

[concurrency/stdlib] declare POSIXErrorCode as Sendable #75000

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
Jul 5, 2024

Conversation

glessard
Copy link
Contributor

@glessard glessard commented Jul 5, 2024

This change makes POSIXErrorCode a Sendable type. POSIXErrorCode is an enum that simply maps an Int32 value. It isn't frozen, though, so it is not inferred as Sendable.

Resolves rdar://99047401

@glessard glessard requested a review from a team as a code owner July 5, 2024 20:40
@glessard
Copy link
Contributor Author

glessard commented Jul 5, 2024

@swift-ci please smoke test

@glessard glessard enabled auto-merge July 5, 2024 21:02
@glessard glessard merged commit 8733ecd into swiftlang:main Jul 5, 2024
3 checks passed
@glessard glessard deleted the rdar99047401-err-nosendable branch July 6, 2024 00:28
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.

3 participants