Is x86 CMPXCHG atomic, if so why does it need LOCK?

Leave a Comment