The producer and consumer processes share the following variables:

Int n,

Semaphore M=1

Semaphore E=n

Semaphore F=0

The consumer process must execute ______ and before removing an item from buffer.

1
signal(M), signal(F)
2
signal(M), wait(F)
3
Signal(F), wait(M)
4
wait(F), wait(M)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation