Name
acquire_semaphore — acquire a semaphore
Synopsis
int acquire_semaphore(semaphore *semaphore_id)
Acquires the semaphore semaphore_id
. Blocks until
it is available. Returns MULTI_OK
or
MULTI_ERR.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.