7 May
2013
7 May
'13
4:56 p.m.
Andrey Semashev wrote:
Actually, I was inaccurate in my previous statement; 80386 does support lock prefix, so atomic instructions are safe.
Not really. It does support XCHG, LOCK INC, LOCK DEC, but not LOCK CMPXCHG or LOCK XADD. So it's fairly useless for any kind of "serious" atomic work.