mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-19 03:30:49 +00: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>