Question: Q 4 : Considering the semaphore ( s ) , which of the following is correct? a . Wait operation is used to enter the

Q4: Considering the semaphore (s), which of the following is correct?
a. Wait operation is used to enter the critical section where (s++)is used to increment the semaphore.
b. Signal operation is used to enter the critical section where (s++)is used to increment the semaphore.
c. Single operation is used to exit the critical section where (S--) is used to decrement the semaphore.
d. Wait operation is used to enter the critical section where (S--) is used to decrement the semaphore.
e. None of the above.
 Q4: Considering the semaphore (s), which of the following is correct?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!