13 #define LOCKFREEQUEUE_UNSUPPORTED
17 #ifndef LOCKFREEQUEUE_UNSUPPORTED
21 #ifdef DtUSE_UTILITIES_NAMESPACE
22 namespace DtUSE_UTILITIES_NAMESPACE
34 bool _push(
void*
const & t);
36 size_t _pop(
void* & ret);
59 inline bool push(T
const & t)
61 return _push(reinterpret_cast<void*>(t));
64 inline size_t pop(T & ret)
66 return _pop(reinterpret_cast<void* &>(ret));
76 #ifdef DtUSE_UTILITIES_NAMESPACE
size_t pop(T &ret)
Definition: vlLockfreeMpmcQueue.h:64
Definition: vlLockfreeMpmcQueue.h:27
~DtLockfreeMpmcQueue()
Definition: vlLockfreeMpmcQueue.h:54
bool empty(void)
Definition: vlLockfreeMpmcQueue.h:69
void * myQueue
Definition: vlLockfreeMpmcQueue.h:41
DtLockfreeMpmcQueue(unsigned int size)
Definition: vlLockfreeMpmcQueue.h:50
Definition: vlLockfreeMpmcQueue.h:45
This file contains typedefs for machine dependant types.
bool push(T const &t)
Definition: vlLockfreeMpmcQueue.h:59
#define DT_DLL_VLUTIL
Definition: vlMachineTypes.h:109