Query: sem_release
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SEM_RELEASE(3) 1 SEM_RELEASE(3) sem_release - Release a semaphoreSYNOPSISbool sem_release (resource $sem_identifier)DESCRIPTIONsem_release(3) releases the semaphore if it is currently acquired by the calling process, otherwise a warning is generated. After releasing the semaphore, sem_acquire(3) may be called to re-acquire it.PARAMETERSo $sem_identifier - A Semaphore resource handle as returned by sem_get(3).RETURN VALUESReturns TRUE on success or FALSE on failure.SEE ALSOsem_get(3), sem_acquire(3). PHP Documentation Group SEM_RELEASE(3)