22 #ifndef Hypertable_Lib_TableMutatorQueue_h
23 #define Hypertable_Lib_TableMutatorQueue_h
31 #include <condition_variable>
56 std::lock_guard<std::mutex> lock(
m_mutex);
85 #endif // Hypertable_Lib_TableMutatorQueue_h
std::shared_ptr< TableMutatorQueue > TableMutatorQueuePtr
Shared smart pointer to TableMutatorQueue.
virtual void add_unlocked(ApplicationHandler *app_handler)
Adds an application handler to queue without locking.
std::condition_variable & m_cond
TableMutatorQueue(std::mutex &mutex, std::condition_variable &cond)
virtual void add(ApplicationHandler *app_handler)
Adds an application handler to queue.
Importing boost::thread and boost::thread_group into the Hypertable namespace.
Provides application work queue and worker threads.
void wait_for_buffer(std::unique_lock< std::mutex > &lock, ApplicationHandler **app_handlerp)
Base clase for application handlers.
Declarations for ApplicationQueueInterface.
std::list< ApplicationHandler * > WorkQueue
Abstract interface for application queue.