This tree is also available from git://repo.or.cz/gcc/rth.git rth/libatomic
Changes since v1: * I believe I've addressed all of Torvald's feedback especially re barrier problems. I have not changed the lock hash function, as there were no concrete suggestions, and certainly that ought not be an issue for correctness. * I've increased the set of objects that can be handled lock-free in the generic routines. If there is a supported aligned integer that overlaps the object, we'll use compare-exchange. * "Tuning", aka enabling multiple paths to elide memory barriers, for ia64 and ppc targets. Tested on armv4, armv7, x86_64, ia64, sparc, and ppc64 linux. I think the library is ready for merge back to mainline, but I will wait until at least Monday for feedback and proximity to my desk to deal with potential fallout. r~
d-libatomic-2.gz
Description: GNU Zip compressed data