Skip to content
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

Use uint32 atomics #46

Merged
merged 1 commit into from
Sep 2, 2021
Merged

Conversation

afjoseph
Copy link
Contributor

@afjoseph afjoseph commented Sep 1, 2021

int64 atomics are not supported on 32-bit systems as of now: golang/go#599. I doubt the changed variables will ever exceed UINT32_MAX

I tested this on an x86-32 system with success. I'll make a write-up on the necessary configurations to run anacrolix/torrent (v1.30.0 as of the time of writing) on Android. @anacrolix, please let me know if you need this before approving the PR.

Many thanks for the fantastic project ❤️

int64 atomics are not supported on 32-bit systems as of now: golang/go#599
@anacrolix
Copy link
Owner

I suspect you've encoutered this despite fd60ad0 due to anacrolix/torrent#483 (comment)?

@afjoseph
Copy link
Contributor Author

afjoseph commented Sep 2, 2021

I suspect you've encoutered this despite fd60ad0 due to anacrolix/torrent#483 (comment)?

Yessir: I tested on the latest master commit at the time

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.

2 participants