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

Add AtomicCell::get_mut #555

Closed
wants to merge 1 commit into from
Closed

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Sep 6, 2020

std atomic types also have the same method: e.g., AtomicBool, AtomicUsize

@ghost
Copy link

ghost commented Sep 6, 2020

This is apparently not possible to implement in a sound way, and the rationale is non-trivial:

@taiki-e
Copy link
Member Author

taiki-e commented Sep 6, 2020

@stjepang Ah, I somehow missed that, thanks for pointing that out.

@taiki-e taiki-e closed this Sep 6, 2020
@taiki-e taiki-e deleted the atomic-get-mut branch September 6, 2020 09:17
@taiki-e
Copy link
Member Author

taiki-e commented Sep 6, 2020

...And I was the one who removed it (#506) 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant