ObjFW  Hex Artifact Content

Artifact 6b15bb229e1666c9f2a3d8cfa09a3e1ccc2447309ea593302f0ba810e07124f4:

Manifest of check-in [6b15bb229e] - atomic.h: Fix several issues.

* of_atomic_cmpswap_*: Clobber eax by adding it as an (unused) output,
so the compiler resets eax (e.g. when used in a loop). (Adding it
to the input and clobber list is lot legal!)
* Don't dereference the pointer passed using "m"(*p) twice.
* Fix some code for ILP64 systems (it seems there is no architecture
using it, though, as it even contained syntax errors).
* Use __asm__ __volatile__ just to be sure.

Thanks to Florian Zeitz for pointing out most of these issues! by js on 2013-06-03 15:20:48.


A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.