Swoole\Atomic::set

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Atomic::setSet a new value to the atomic object.

説明

public Swoole\Atomic::set ( integer $value ) : integer

Set a new value to the atomic object.

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

value

The value to set to the atomic object.

返り値

The current value of the atomic object.