c++ atomic library test git clone https://github.com/cageq/cppatomictest.git cd cppatomictest git submodule init git submodule update cmake . make looks folly has the best performace of SPSC queue