32 #ifndef _QORE_QOREQUEUE_H
34 #define _QORE_QOREQUEUE_H
36 #include <qore/QoreThreadLock.h>
37 #include <qore/QoreCondition.h>
41 class qore_queue_private;
44 friend class qore_queue_private;
47 qore_queue_private* priv;
51 DLLEXPORT QoreQueue(
int n_max = -1);
54 DLLEXPORT QoreQueue(
const QoreQueue &orig);
59 DLLEXPORT ~QoreQueue();
77 DLLEXPORT
bool empty()
const;
82 DLLEXPORT
int size()
const;
85 DLLEXPORT
int getMax()
const;
88 DLLEXPORT
unsigned getReadWaiting()
const;
91 DLLEXPORT
unsigned getWriteWaiting()
const;
99 DLLEXPORT
virtual ~Queue();
102 DLLEXPORT Queue(
int max = -1);
104 DLLEXPORT Queue* eventRefSelf()
const;
107 #endif // _QORE_QOREQUEUE_H
the base class for all data to be used as private data of Qore objects
Definition: AbstractPrivateData.h:44
The base class for all value and parse types in Qore expression trees.
Definition: AbstractQoreNode.h:55
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:43