qb_atomic_int_compare_and_exchange(3) on Linux
The text 13f5387c6f31, as Debian 13 (Trixie) shipped it.
Compares oldval with the integer pointed to by atomic and if they are equal, atomically exchanges *atomic with newval.
The text 13f5387c6f31, as Debian 13 (Trixie) shipped it.
Compares oldval with the integer pointed to by atomic and if they are equal, atomically exchanges *atomic with newval.