mariadb/include/atomic
Sergey Vojtovich 9836fd5d13 MDEV-5766 - my_atomic_load does memory writes
my_atomic_load() is implemented as __sync_fetch_and_or(var, 0) which
writes or-ed value back to var. Memory writes as such have worse
performance and scalability than reads.

gcc 4.7 and up offers better facility for atomic loads/stores. Use it
whenever it is available.
2014-03-07 11:43:06 +04:00
..
gcc_builtins.h MDEV-5766 - my_atomic_load does memory writes 2014-03-07 11:43:06 +04:00
generic-msvc.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
nolock.h MDEV-417 - fix typo that prevented use of atomic instructions on Windows 2012-07-30 20:13:23 +02:00
rwlock.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
solaris.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
x86-gcc.h centos5 gcc 4.1 asm bug 2013-05-07 18:28:36 +02:00