Question OS-SYNC-0017
HardSemaphore S starts at 0. P1 runs statement A and then signal(S); P2 runs wait(S) and then statement B. What does this guarantee?
- A.
B always executes before A
- B.
A and B never execute
- C.
Sign up free to see the answer and a step-by-step explanation.