Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
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.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!