pht\AtomicInteger::unlockReleases the atomic integer's mutex lock 説明
public void pht\AtomicInteger::unlock
( void
)
This method will release the mutex lock associated with the atomic integer. パラメータこの関数にはパラメータはありません。 戻り値No return value. 例
例1 Grouping together an atomic integer's operations (requiring a mutex lock)
<?php 上の例の出力は以下となります。 int(4) |