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

Replace atomic-shim::AtomicU64 with crossbeam-utils::atomic::AtomicCell<u64> #52

Merged
merged 1 commit into from
Aug 4, 2021
Merged

Conversation

paolobarbolini
Copy link
Contributor

AtomicCell seems to be a better option to me, as it supports many more targets (for example this is the list of targets with no atomic support that work with crossbeam), is maintained and atomic-shim relies upon anyway

@tobz
Copy link
Member

tobz commented Aug 4, 2021

Stupid benchmark tests are broken, but, this looks good to me. A lot less conditional code, too.

@tobz tobz merged commit 177be77 into metrics-rs:main Aug 4, 2021
@tobz
Copy link
Member

tobz commented Aug 4, 2021

Thanks for your contribution!

@paolobarbolini
Copy link
Contributor Author

paolobarbolini commented Aug 12, 2021

Could you make a new release for this? @tobz

@tobz
Copy link
Member

tobz commented Aug 12, 2021

@paolobarbolini Yep, good call.

Released [email protected] which includes this PR. 👍🏻

@paolobarbolini
Copy link
Contributor Author

Thanks @tobz

@messense
Copy link
Contributor

messense commented Sep 8, 2021

Unfortunately I think this breaks MIPS build? #54

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