(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
Class synopsis
Swoole\Atomic
{
public add
([
integer $add_value
] ) :
integer
public cmpset
(
integer $cmp_value
,
integer $new_value
) :
integer
public get
(
void
) :
integer
public set
(
integer $value
) :
integer
public sub
([
integer $sub_value
] ) :
integer
}