[SDL] Atomic int/ptr operations?
Ryan C. Gordon
icculus at icculus.org
Thu Jun 18 17:41:02 PDT 2009
> Mac OS X:
You should use those on PowerPC builds, because it's hard to get it
right in assembly (and possibly impossible across all PowerPC chips).
But on Intel chips, you might as well just use the same "lock ; xchg"
opcodes everyone else does, instead of relying on the OS.
More information about the SDL