commit | c2d6f85a0ac0562f9edaaefd584376af89412a17 | [log] [tgz] |
---|---|---|
author | Tommi Rantala <tt.rantala@gmail.com> | Thu Sep 06 15:42:35 2012 +0300 |
committer | Tommi Rantala <tt.rantala@gmail.com> | Fri Sep 28 14:06:04 2012 +0300 |
tree | a91d0efd68285f0ed388bfe38c0c119b0aed4a88 | |
parent | 9a3565ddc1e956ef1f52806093e949c7809f6e79 [diff] |
Use __sync builtin atomics on all architectures if available We can use the __sync builtin atomics also on other architectures than IA64. GCC 4.7 documentation notes that these builtins are ``legacy'' -- adding support for the newer GCC __atomic atomics should be fairly easy.