The Swoole\Atomic class

(PECL swoole >= 1.9.0)

Introduction

Class synopsis

class Swoole\Atomic {
/* Methods */
public add(int $add_value = ?): int
public cmpset(int $cmp_value, int $new_value): int
public get(): int
public set(int $value): int
public sub(int $sub_value = ?): int
}

Table of Contents