sem_create
sem_create
Create a semaphore.
Signature
Status sem_create(
Capref sem,
int init_value )
Arguments
- sem - A
capref
for a capability table entry in which the capability for the new semaphore will
be stored.
- init_value - The initial value of the semaphore.
Semantics
sem_create creates a new semaphore and a capability for it. The
capability is stored in a capability table visible to the calling loci.
Status
See Also
Capref