atom
atom copied to clipboard
Removal of GetNextMut and Atom::replace_and_set_next
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.
I like it too. I just think it's strange to have a linked list function in this package.