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 a loom::cell::Cell, which provides a basic wrapper of the loom UnsafeCell #196

Merged
merged 1 commit into from
Oct 5, 2021

Conversation

thomcc
Copy link
Contributor

@thomcc thomcc commented Mar 13, 2021

It isn't too rare to use Cell<T> instead of UnsafeCell<T> if T is Copy. It also is way more compatible with the stdlib API. Wasn't sure what to do for tests here.

@thomcc
Copy link
Contributor Author

thomcc commented Mar 13, 2021

Stable CI failure is a warning that's fixed by #195 (merged)

@Darksonn Darksonn merged commit e4bedd9 into tokio-rs:master Oct 5, 2021
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