23 #include "common_priv.h"
31 queuemap.insert(std::make_pair(queue->GetKey(), queue));
36 QueueMap::iterator entry =
queuemap.find(key);
54 QueueMap::iterator q =
queuemap.begin();
56 q->second->Shutdown();
67 QueueMap::iterator q =
queuemap.begin();
69 q->second->LogState();
72 QueueList::iterator itr =
queuelist.begin();
74 itr->get()->LogState();
PthreadCondition & Wait(PthreadMutex &mutex)
An object to hold references to RemoteQueues so they can continue to work after the node has gone awa...
void SendWakeup()
Causes this handler to become readable any Poll on this FileHandler will then return.
void AddQueue(shared_ptr< RemoteQueueBase > queue)
void CleanupQueue(Key_t key)
std::vector< shared_ptr< RemoteQueueBase > > QueueList
PthreadCondition & Signal(void)
Automatic locking on the stack.