1.

When process releases the resource it usesoperation and thus semaphore is incremented."​

Answer»

ong>Answer:

When a process releases a RESOURCE, it performs a signal() operation (incrementing the count). When the count for the semaphore goes to 0, all RESOURCES are being used. After that, processes that wish to use a resource will BLOCK until the count becomes greater than 0.



Discussion

No Comment Found

Related InterviewSolutions