Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
When the value of a semaphore is negative what does this number indicate?
Its negative indicates the number of threads waiting on this semaphore (i.e., if -5, there are 5 threads waiting).
The number of threads that can call sem_wait() before one will be put to sleep.
The number of in-progress calls to sem_wait() (i.e., calls that have not yet returned).
The meaning of its negative value completely depends on what it was initialized to.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!