carta

qb_atomic_pointer_compare_and_exchange(3) on Linux

The text f4dab5733a4c, as Debian 13 (Trixie) shipped it.

Compares oldval with the pointer pointed to by atomic and if they are equal, atomically exchanges *atomic with newval.

qb_atomic_pointer_compare_and_exchange(3) on Linux now