GoLang Swoole\Atomic::set

request it (143)
GoLang replacement for PHP's Swoole\Atomic::set [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Atomic::set? Write it!

PHP Swoole\Atomic::set

PHP original manual for Swoole\Atomic::set [ show | php.net ]

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.

Description

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

Set a new value to the atomic object.

Warning

This function is currently not documented; only its argument list is available.

Parameters

value

The value to set to the atomic object.

Return Values

The current value of the atomic object.