template <typename T> class SingleProducerSingleConsumerQueue : public CryMT::detail::SingleProducerSingleConsumerQueueBase;
CryThread.h
Producer/Consumer Queue for 1 to 1 thread communication Realized with only volatile variables and memory barriers *warning* this producer/consumer queue is only thread safe in a 1 to 1 situation and doesn't provide any yields or similar to prevent spinning
void Init(size_t nSize);
void Pop(T * pResult);
void Push(const T & rObj);
SingleProducerSingleConsumerQueue();