« Swoole\Atomic::__construct
Swoole\Atomic::set »

Swoole\Atomic::get

(PECL swoole >= 1.9.0)

Swoole\Atomic::get — Get the current value of the atomic object.

説明

public function Swoole\Atomic::get(): int

Get the current value of the atomic object.

パラメータ

この関数にはパラメータはありません。

戻り値

The current value of the atomic object.

関連キーワード:
Swoole   Atomic   current   atomic   construct   swoole
関連する関数・ページ:
swoole-atomic.set   swoole-atomic.add   class.swoole-atomic   swoole-atomic.cmpset   swoole-atomic.construct   swoole-atomic.sub