393 views
0 votes
0 votes

How 4th statement is true???

1 Answer

0 votes
0 votes
D is true.

Note that it's a binary semaphore. So it's value can be 0 or 1. 1 will indicate no one is waiting in queue. 0 indicates 1 or more process waiting in queue

Related questions

2 votes
2 votes
2 answers
1
Ashwin Kulkarni asked Nov 26, 2017
374 views
Should we consider bounded waiting if there is already a deadlock?I mean to say "If there is deadlock then surely not bounded waiting" is this statement true alway ?Some...
2 votes
2 votes
1 answer
2
KISHALAY DAS asked Nov 14, 2016
338 views
0 votes
0 votes
1 answer
3
roopkathaaa asked Aug 25, 2023
1,184 views
In a certain application, the initial value of a counting semaphore s is 10. The following operations were completed on the semaphore in the given order 5P, 20P, 2V, 18P,...
0 votes
0 votes
1 answer
4
ajayraho asked Oct 23, 2022
876 views
What is the significance of infinite loop that is written in every example of process synchronisation? What would happen if there wasn't any infinite loop?