in Operating System
3,288 views
2 votes
2 votes

In which of the following order indefinite blocking may occur if we add and remove process from the list associated with a semaphore.

a)LIFO
b)FIFO
in Operating System
3.3k views

1 Answer

2 votes
2 votes
Best answer

Indefinite blocking may occur if we add and remove processes from the list associated with a semaphore in LIFO order.

4 Comments

bro LIFO is implemented by stack,not queue.queue implements FIFO.correct your xplanation.though answer is right..It should be LIFO.
1
1
Yes yes...sorry big mistake :P
0
0
(associated with semaphore)-what it means  can u plz explain
0
0

Related questions

0 votes
0 votes
1 answer
1