Swoole\Atomic::set
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Set a new value to the atomic object.
Description
Swoole\Atomic::set(int $value): int
Set a new value to the atomic object.
Func
Parameters
valueThe value to set to the atomic object.
Return Values
The current value of the atomic object.