ref: 08cdfaedb4d05f28fc75bade6a1c0a309c8df9a8
parent: e373badb4eb3c4844a5e2259f278220e501e4336
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Nov 5 12:06:49 EST 2023
atomic: return a boolean from the cas variants while it's sometimes useful to know the old value in the atomic location, it's harder to implement on some cpu architectures like arm.