Swoole\Atomic::add

Add a number to the value to the atomic object.

説明

public int Swoole\Atomic::add(int $add_value = ?)

Add a number to the value to the atomic object.

パラメータ

add_value

The value which will be added to the current value.

戻り値

The new value of the atomic object.