mirror of
https://github.com/xemu-project/xemu.git
synced 2026-11-16 02:49:34 +01:00
Emulating LL/SC with cmpxchg is not correct, since it can suffer from the ABA problem. However, portable parallel code is written assuming only cmpxchg which means that in practice this is a viable alternative. Signed-off-by: Richard Henderson <rth@twiddle.net>