Question OS-SYNC-0044
MediumWhy must wait() and signal() on a semaphore be atomic?
- A.
Otherwise two processes could both see the value 1 and both enter the critical section
- B.
To make them faster
- C.
Sign up free to see the answer and a step-by-step explanation.