The Swoole\Atomic class
(PECL swoole >= 1.9.0)
Introduction
Table of Contents
- Swoole\Atomic::add — Add a number to the value to the atomic object.
- Swoole\Atomic::cmpset — Compare and set the value of the atomic object.
- Swoole\Atomic::__construct — Construct a swoole atomic object.
- Swoole\Atomic::get — Get the current value of the atomic object.
- Swoole\Atomic::set — Set a new value to the atomic object.
- Swoole\Atomic::sub — Subtract a number to the value of the atomic object.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
