InnoDB: Converting old atomic code to C++11
Atomics (or GCC intrinsics) were first introduced in InnoDB (5.0) by a patch from Mark Callaghan’s team at Google for mutexes and rw-locks. InnoDB code then was written in C. When the code was ported to C++ , part of the 5.6 release, there was no C++ standard for atomics.…