21 #ifndef INCLUDE_OLA_THREAD_THREADPOOL_H_
22 #define INCLUDE_OLA_THREAD_THREADPOOL_H_
26 #include <ola/thread/ConsumerThread.h>
27 #include <ola/thread/Thread.h>
39 : m_thread_count(thread_count),
48 std::queue<Action> m_callback_queue;
49 unsigned int m_thread_count;
53 std::vector<ConsumerThread*> m_threads;
55 void JoinAllThreads();
61 #endif // INCLUDE_OLA_THREAD_THREADPOOL_H_