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.