21 #ifndef INCLUDE_OLA_THREAD_CONSUMERTHREAD_H_
22 #define INCLUDE_OLA_THREAD_CONSUMERTHREAD_H_
26 #include <ola/thread/Thread.h>
54 m_callback_queue(callback_queue),
57 m_condition_var(condition_var) {
63 std::queue<Action> *m_callback_queue;
64 const bool *m_shutdown;
74 #endif // INCLUDE_OLA_THREAD_CONSUMERTHREAD_H_
void * Run()
Definition: ConsumerThread.cpp:31
Definition: ConsumerThread.h:36
Thread options.
Definition: Thread.h:60
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
ConsumerThread(std::queue< Action > *callback_queue, const bool *shutdown, Mutex *mutex, ConditionVariable *condition_var, const Thread::Options &options=Thread::Options())
Definition: ConsumerThread.h:48