« Swoole\Async::writeFile
Swoole\Atomic::add »
PHP Manual
Swoole
The Swoole\Atomic class
検索
The Swoole\Atomic class
(PECL swoole >= 1.9.0)
はじめに
クラス概要
class
Swoole\Atomic
{
/* メソッド */
public
function
add
(
int
$add_value
= ?
):
int
public
function
cmpset
(
int
$cmp_value
,
int
$new_value
):
int
public
function
get
():
int
public
function
set
(
int
$value
):
int
public
function
sub
(
int
$sub_value
= ?
):
int
}
目次
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.
関連キーワード:
Swoole
Atomic
atomic
swoole
cmpset
number
Async
writeFile
construct
Construct
関連する関数・ページ:
swoole-atomic.add
swoole-atomic.get
swoole-atomic.set
swoole-atomic.cmpset
swoole-atomic.sub
swoole-atomic.construct
他のマニュアルの関連ページ
Python
dict
Vim
ft_raku
Python
bytes
Python
list
Linux JM
pipe(7)
Django
transactions