GDAL

gdal_thread_pool.h
1/**********************************************************************
2 *
3 * Project: GDAL
4 * Purpose: Global thread pool
5 * Author: Even Rouault, <even dot rouault at spatialys dot com>
6 *
7 **********************************************************************
8 * Copyright (c) 2020, Even Rouault, <even dot rouault at spatialys dot com>
9 *
10 * SPDX-License-Identifier: MIT
11 ****************************************************************************/
12
13#ifndef GDAL_THREAD_POOL_H
14#define GDAL_THREAD_POOL_H
15
16#include "cpl_worker_thread_pool.h"
17
18 CPLWorkerThreadPool CPL_DLL *GDALGetGlobalThreadPool(int nThreads);
19
20 void GDALDestroyGlobalThreadPool();
21
22#endif // GDAL_THREAD_POOL_H
CPLWorkerThreadPool
Pool of worker threads.
Definition: cpl_worker_thread_pool.h:66
cpl_worker_thread_pool.h
Class to manage a pool of worker threads.