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
17
18CPLWorkerThreadPool CPL_DLL *GDALGetGlobalThreadPool(int nThreads);
19
20void GDALDestroyGlobalThreadPool();
21
22#endif // GDAL_THREAD_POOL_H
Pool of worker threads.
Definition: cpl_worker_thread_pool.h:66
Class to manage a pool of worker threads.