update : 2015.11.03
php.shukuma.com검색:
|
Mutex::unlock(PECL pthreads >= 2.0.0) Mutex::unlock — Release Mutex 설명
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. 예제
Example #1 Mutex Locking and Unlocking
<?php 위 예제의 출력: bool(true) bool(true) |