Question: When using semaphores, a process invokes the wait ( ) operation before accessing its critical section, followed by the signal ( ) operation upon completion

When using semaphores, a process invokes the wait() operation before accessing its critical section, followed by the signal() operation upon completion of its critical section. Consider reversing the order of these two operationsfirst calling signal(), then calling wait(). What would be a possible outcome of this?
Select one:
a.
Starvation is possible.
b.
Several processes could be active in their critical sections at the same time.
c.
Mutual exclusion is still assured.
d.
Deadlock is possible.
c.
Reading and writing to ordinary pipes on both UNIX and Windows systems can be performed like ordinary file I/O.
d.
Named pipes can only be used by communicating processes on the same machine.

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!