Searched refs:ThreadSafeRingBuffer (Results 1 – 3 of 3) sorted by relevance
37 class ThreadSafeRingBuffer class40 ThreadSafeRingBuffer (int size);41 ~ThreadSafeRingBuffer (void) {} in ~ThreadSafeRingBuffer()67 ThreadSafeRingBuffer<T>::ThreadSafeRingBuffer (int size) in ThreadSafeRingBuffer() function in de::ThreadSafeRingBuffer79 inline void ThreadSafeRingBuffer<T>::pushFrontInternal (const T& elem) in pushFrontInternal()86 inline T ThreadSafeRingBuffer<T>::popBackInternal () in popBackInternal()94 void ThreadSafeRingBuffer<T>::pushFront (const T& elem) in pushFront()104 bool ThreadSafeRingBuffer<T>::tryPushFront (const T& elem) in tryPushFront()119 T ThreadSafeRingBuffer<T>::popBack () in popBack()130 bool ThreadSafeRingBuffer<T>::tryPopBack (T& dst) in tryPopBack()
59 Consumer (ThreadSafeRingBuffer<Message>& buffer, int numProducers) in Consumer()91 ThreadSafeRingBuffer<Message>& m_buffer;99 Producer (ThreadSafeRingBuffer<Message>& buffer, deUint16 threadId, int dataSize) in Producer()116 ThreadSafeRingBuffer<Message>& m_buffer;133 ThreadSafeRingBuffer<Message> buffer (bufSize); in ThreadSafeRingBuffer_selfTest()
118 typedef de::ThreadSafeRingBuffer<Message> MessageQueue;