Swoole\Atomic::set

Set a new value to the atomic object.

Description

public int Swoole\Atomic::set(int $value)

Set a new value to the atomic object.

Warning

This function is currently not documented; only its argument list is available.

Parameters

value

The value to set to the atomic object.

Return Values

The current value of the atomic object.