Swoole
PHP Manual

The Swoole\Atomic class

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Introduction

Class synopsis

Swoole\Atomic {
/* Methods */
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 ] )
}

Table of Contents


Swoole
PHP Manual