Here is an example implementation of double compare and swap using the wide CAS. http://blog.lse.epita.fr/articles/42-implementing-generic-double-word-compare-and-swap-.html
This article also talks about the ABA problem and how this double CAS can be used to solve the problem. I feel like it is a good addition to the previous slide.
Here is an example implementation of double compare and swap using the wide CAS. http://blog.lse.epita.fr/articles/42-implementing-generic-double-word-compare-and-swap-.html
This article also talks about the ABA problem and how this double CAS can be used to solve the problem. I feel like it is a good addition to the previous slide.