qb_atomic_pointer_compare_and_exchange(3) on Linux
The text 697ead325367, as Debian 11 (Bullseye) shipped it.
Compares oldval with the pointer pointed to by atomic and if they are equal, atomically exchanges *atomic with newval.
The text 697ead325367, as Debian 11 (Bullseye) shipped it.
Compares oldval with the pointer pointed to by atomic and if they are equal, atomically exchanges *atomic with newval.