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

Removal of GetNextMut and Atom::replace_and_set_next #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dbkaplun
Copy link
Contributor

These methods have little to do with Atom's usage and should be removed. They are specific to linked lists, and are not relevant to safe atomic pointers. Atomic linked lists can be implemented in various ways, and although a spin lock is one way, it seems like bikeshedding to me.

Opening this up for discussion, as I think this is something that should be addressed.

Copy link
Member

@torkleyy torkleyy left a comment

Choose a reason for hiding this comment

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

Well I liked it. I don't see a reason to remove it.

@dbkaplun
Copy link
Contributor Author

I like it too. I just think it's strange to have a linked list function in this package.

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