sem_destroy
sem_destroy
Destroy a semaphore.
Signature
Status sem_destroy(
Capref sem )
Arguments
- sem - A
capref
specifying a capability for the semaphore to be destroyed.
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