Suppose there are two resources available and the initial value of semaphore is set to 4. Consider a situation where P()
Posted: Sun Jul 03, 2022 9:59 am
Suppose there are two resources available and the initial value of semaphore is set to 4. Consider a situation where P() and V() functions are called as follows. PO PO VO PO VO PO VO VO PO VO PO PO VO PO VO PO VO PO VO VO VO Answer the following: How many processes are sleeping on p()? What is the value of semaphore? • How many processes have successfully completed their execution? How many resources are available?