3 ms·
There is a locked version of XCHG that behaves atomically. I believe that if you swap memory locations that lock is implicit, so maybe you are not just swapping
by fwsgonzo 3y ago
There is a locked version of XCHG that behaves atomically. I believe that if you swap memory locations that lock is implicit, so maybe you are not just swapping registers?