Oracle iPlanet Web Proxy Server 4.0.14 NSAPI Developer's Guide

sem_release

The sem_release function releases the process’s exclusive control over a specified semaphore. Use this function to release exclusive control over a semaphore created with the function sem_grab.

Syntax

#include <base/sem.h>
int sem_release(SEMAPHORE id);

Returns

Parameters

SEMAPHORE id is the unique identification number of the semaphore.

See Also

sem_grab, sem_init, sem_terminate