swoole_atomic->cmpset

如果当前数值等于参数1,则将当前数值设置为参数2

function swoole_atomic->cmpset(int $cmp_value, int $set_value);