update : 2015.11.03
php.shukuma.com검색:
|
SyncMutex::lock(PECL sync >= 1.0.0) SyncMutex::lock — Waits for an exclusive lock 설명
public bool SyncMutex::lock
([ integer
$wait
] )Obtains an exclusive lock on a SyncMutex object. If the lock is already acquired, then this increments an internal counter. 인수
반환값A boolean of TRUE if the lock was obtained, FALSE otherwise. 예제Example #1 SyncMutex::lock() example
<?php 참고
|