The Swoole\Atomic class

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

Introduction

Class synopsis

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

Table of Contents