sem_destroy


sem_destroy

Destroy a semaphore.

Signature

Status sem_destroy(
	Capref	sem )

Arguments

Semantics

sem_destroy destroys the semaphore specified by sem. If there are loci waiting on the semaphore, the sem_wait call will return an error.

Status

See Also

Capref

Loci

sem_wait