Query: sem_acquire
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SEM_ACQUIRE(3) 1 SEM_ACQUIRE(3) sem_acquire - Acquire a semaphoreSYNOPSISbool sem_acquire (resource $sem_identifier)DESCRIPTIONsem_acquire(3) blocks (if necessary) until the semaphore can be acquired. A process attempting to acquire a semaphore which it has already acquired will block forever if acquiring the semaphore would cause its maximum number of semaphore to be exceeded. After processing a request, any semaphores acquired by the process but not explicitly released will be released automatically and a warn- ing will be generated.PARAMETERSo $sem_identifier -$sem_identifier is a semaphore resource, obtained from sem_get(3).RETURN VALUESReturns TRUE on success or FALSE on failure.SEE ALSOsem_get(3), sem_release(3). PHP Documentation Group SEM_ACQUIRE(3)
Related Man Pages |
---|
sem_unlink(2) - mojave |
sem_getvalue(2) - hpux |
sem_trywait(2) - hpux |
sem_wait(2) - hpux |
sem_unlink(2) - osx |
Similar Topics in the Unix Linux Community |
---|
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
New Code Tags (Syntax Highlighting) |
Denial Of Service Attack Update |
Please Welcome Nicki Paul to the Moderator Team! |