/Engine/Source/Runtime/Core/Public/Containers/CircularQueue.h
There is some room for optimization via using fine grained memory fences, but the implications for all of our target platforms need further analysis, so we're using the simpler sequentially consistent model for now.
template<typename T> class TCircularQueue