Return the number of threads to use, taking into account the * GDAL_NUM_THREADS configuration option. * * @param nMaxVal Maximum number of threads, or -1 if none * @param bDefaultAllCPUs Whether the default value should be CPLGetNumCPUs() * @param[out] ppszValue Pointer to a string to set the string value used, or * nullptr if not needed. * @param[out] pbOK Pointer to
| 77 | * @since 3.13 |
| 78 | */ |
| 79 | int GDALGetNumThreads(int nMaxVal, bool bDefaultAllCPUs, const char **ppszValue, |
| 80 | bool *pbOK) |
| 81 | { |
| 82 | return GDALGetNumThreads(nullptr, nullptr, nMaxVal, bDefaultAllCPUs, |
| 83 | ppszValue, pbOK); |
| 84 | } |
| 85 | |
| 86 | /************************************************************************/ |
| 87 | /* GDALGetNumThreads() */ |
no test coverage detected