|
PHP5中文手册
sem_get(PHP 4, PHP 5) sem_get — Get a semaphore id 说明
resource sem_get
( int $key
[, int $max_acquire
[, int $perm
[, int $auto_release
]]] )
sem_get() returns an id that can be used to access the System V semaphore with the given key . A second call to sem_get() for the same key will return a different semaphore identifier, but both identifiers access the same underlying semaphore. 参数
返回值Returns a positive semaphore identifier on success, or FALSE on error. 更新日志
|