Skip to content

[Threading] Support 32-bit platforms for C11 threads and pthreads. #59586

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
Jun 24, 2022

Conversation

al45tair
Copy link
Contributor

We just need to change the type from int64_t to intptr_t.

rdar://95523756

We just need to change the type from `int64_t` to `intptr_t`.

rdar://95523756
@al45tair
Copy link
Contributor Author

@swift-ci Please test

@al45tair
Copy link
Contributor Author

@compnerd While this isn't a Windows change, it's essentially what you already did for the Windows version, so I thought I'd ask you to take a quick look and make sure I didn't do anything silly.

@finagolfin
Copy link
Member

finagolfin commented Jun 20, 2022

I can confirm this pull fixes the pthreads issue on Android armv7.

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

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

LGTM. One thing that I did do differently on Windows was adopt the C++ style casts. I don't think that is important but something nice to follow in C++.

@al45tair
Copy link
Contributor Author

@swift-ci Please test Linux platform.

@al45tair al45tair merged commit 672c106 into swiftlang:main Jun 24, 2022
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