1 #ifndef ossimJobMultiThreadQueue_HEADER 2 #define ossimJobMultiThreadQueue_HEADER 88 std::shared_ptr<ossimJobQueue> getJobQueue();
93 const std::shared_ptr<ossimJobQueue> getJobQueue()
const;
100 void setJobQueue(std::shared_ptr<ossimJobQueue> q);
120 bool areAllThreadsBusy()
const;
125 bool hasJobsToProcess()
const;
136 void waitForCompletion();
OSSIM_DLL ossim_uint32 getNumberOfThreads()
Get the number threads to use from ossimPreferences or ossim::Thread.
This allocates a thread pool used to listen on a shared job queue.
unsigned int ossim_uint32
std::vector< std::shared_ptr< ossimJobThreadQueue > > ThreadQueueList
ThreadQueueList m_threadQueueList
std::shared_ptr< ossimJobQueue > m_jobQueue