C++ lock free mulithreading core and a little game engine based on it