update : 2015.11.03
php.shukuma.com검색:
|
SyncSemaphore::lock(PECL sync >= 1.0.0) SyncSemaphore::lock — Decreases the count of the semaphore or waits 설명
public bool SyncSemaphore::lock
([ integer
$wait
] )Decreases the count of a SyncSemaphore object or waits until the semaphore becomes non-zero. 인수
반환값A boolean of TRUE if the lock operation was successful, FALSE otherwise. 예제Example #1 SyncSemaphore::lock() example
<?php 참고
|