GDAL
cpl_worker_thread_pool.h File Reference

Class to manage a pool of worker threads. More...

#include "cpl_multiproc.h"
#include "cpl_list.h"
#include <condition_variable>
#include <functional>
#include <memory>
#include <mutex>
#include <queue>
#include <vector>

Go to the source code of this file.

Classes

class  CPLWorkerThreadPool
 Pool of worker threads. More...
class  CPLJobQueue
 Job queue. More...

Typedefs

using CPLJobQueuePtr = std::unique_ptr<CPLJobQueue>
 Unique pointer to a job queue.

Detailed Description

Class to manage a pool of worker threads.