carta

qb_atomic_int_compare_and_exchange(3) on Linux

The text 03f99341bd92, as Debian 11 (Bullseye) shipped it.

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

qb_atomic_int_compare_and_exchange(3) on Linux now