Question OS-PROC-0077
HardTwo threads each read a shared balance of ₹1,000, subtract ₹200 and write the result back, with no locking. Which final balances are possible?
- A.
Only ₹600
- B.
₹600 or ₹800
- C.
Sign up free to see the answer and a step-by-step explanation.