| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
Mutex::unlock(PECL pthreads < 3.0.0) Mutex::unlock — Release Mutex 警告
The Mutex class has been removed in pthreads v3. 説明
final
public
static
boolean
Mutex::unlock
(
long
$mutex
[,
boolean
$destroy
] )Attempts to unlock the Mutex for the caller, optionally destroying the Mutex handle. The calling thread should own the Mutex at the time of the call. パラメータ
返り値A boolean indication of success. 例
例1 Mutex Locking and Unlocking
<?php 上の例の出力は以下となります。 bool(true) bool(true) |
![]() |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「Mutex::unlock - Release Mutex」をGoogle検索
|