atom icon indicating copy to clipboard operation
atom copied to clipboard

Removal of GetNextMut and Atom::replace_and_set_next

Open dbkaplun opened this issue 7 years ago • 1 comments

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.

dbkaplun avatar May 17 '18 23:05 dbkaplun

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

dbkaplun avatar May 18 '18 19:05 dbkaplun