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