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.

Warning

本函数还未编写文档,仅有参数列表。

参数

value

The value to set to the atomic object.

返回值

The current value of the atomic object.

关注编程学问公众号