Generalized Compare and Swap
arXiv:2410.19102
Abstract
In this paper, we first propose a natural generalization of the well-known compare-and-swap object, one that replaces the equality comparison with an arbitrary comparator. We then present a simple wait-free universal construction using this object and prove its correctness.
12 pages