Question OS-SYNC-0065
HardWhy can Peterson's algorithm fail on modern multi-core processors without memory barriers?
- A.
The CPU or compiler may reorder memory operations on the flags and turn
- B.
It uses semaphores
- C.
Sign up free to see the answer and a step-by-step explanation.