A lock free queue implementation in c++