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

timer: use std::sync::atomic::AtomicU64 instead of own AtomicU64 #1421

Merged
merged 1 commit into from
Aug 9, 2019
Merged

timer: use std::sync::atomic::AtomicU64 instead of own AtomicU64 #1421

merged 1 commit into from
Aug 9, 2019

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Aug 9, 2019

Motivation

std::sync::atomic::AtomicU64 has been stabilized in 1.34.

Solution

Copy link
Member

@carllerche carllerche left a comment

Choose a reason for hiding this comment

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

👍

@taiki-e taiki-e merged commit 42fa0c2 into tokio-rs:master Aug 9, 2019
@taiki-e taiki-e deleted the timer-atomic branch August 9, 2019 18:42
@seirdb
Copy link

seirdb commented Sep 4, 2019

I noticed that this change breaks building on 32-bit target which do not have native support for AtomicU64. I've encountered this on mipsel-unknown-linux-gnu for example.

@taiki-e
Copy link
Member Author

taiki-e commented Sep 4, 2019

@seirdb thanks, I've filed #1538.

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