31 void push(T newElement);
61 #define DtLocklessQueue_INL_
62 #include "locklessQueue.inl"
63 #undef DtLocklessQueue_INL_
int myReadHead
Definition: locklessQueue.h:56
bool okToPush()
Check to see if there is room in the queue. If there is not enough room, the call to push will block...
voidpf void uLong size
Definition: ioapi.h:39
T pop()
Remove an element from the queue.
void push(T newElement)
Add an element on the queue.
int myWriteHead
Definition: locklessQueue.h:57
int count()
Get the current element count.
std::vector< T > myElements
Definition: locklessQueue.h:55
DtLocklessQueue & operator=(const DtLocklessQueue &rhs)
Assignment operator (unimplemented)
DtLocklessQueue()
Default CTOR (unimplemented)
DtLocklessQueue is a thread safe queue for single reader/single writer. It may block if the queue fil...
Definition: locklessQueue.h:20