MCQOPTIONS
Saved Bookmarks
| 1. |
Suppose S and Q are two semaphores initialized to 1. P1 and P2 are two processes which are sharing resources.P1 has statements P2 has statementsWait(S); wait (Q);Wait (Q); wait(S);Critical section 1; critical section 2;Signal(S); signal (Q); signal (Q); signal(S);Their execution may sometimes lead to an undesirable situation called |
| A. | Starvation |
| B. | Race condition |
| C. | Multithreading |
| D. | Deadlock |
| Answer» E. | |