sem_queue_size
sem_queue_size
Determine the length of a semaphore queue.
Signature
Status sem_queue_size(
Capref sem,
int *size )
Arguments
- sem - A
capref
specifying a capability for a semaphore.
- size - References a variable in which the number of loci waiting on
sem is stored.
Semantics
The function sem_queue_size is used to determine the number of loci
currently waiting on the semaphore sem. The value stored in the variable
referenced by size is not guaranteed to be accurate.
Status
See Also
Capref