sem_release(3) php man page | unix.com

Man Page: sem_release

Operating Environment: php

Section: 3

SEM_RELEASE(3)								 1							    SEM_RELEASE(3)

sem_release - Release a semaphore

SYNOPSIS
bool sem_release (resource $sem_identifier)
DESCRIPTION
sem_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.
PARAMETERS
o $sem_identifier - A Semaphore resource handle as returned by sem_get(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
sem_get(3), sem_acquire(3). PHP Documentation Group SEM_RELEASE(3)
Related Man Pages
sem_trywait(2) - hpux
sem_trywait(3) - osf1
sem_unlink(3) - osf1
coro::semaphoreset(3pm) - debian
thread::semaphore(3pm) - redhat
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch