MCPcopy Create free account
hub / github.com/OSGeo/gdal / GetThreadCount

Method GetThreadCount

port/cpl_worker_thread_pool.cpp:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78/************************************************************************/
79
80int CPLWorkerThreadPool::GetThreadCount() const
81{
82 std::unique_lock<std::mutex> oGuard(m_mutex);
83 return m_nMaxThreads;
84}
85
86/************************************************************************/
87/* WorkerThreadFunction() */

Callers 10

GDALGridContextProcessFunction · 0.80
ProcessRegionMethod · 0.80
GDALGetGlobalThreadPoolFunction · 0.80
IRasterIOMethod · 0.80
IRasterIOMethod · 0.80
IRasterIOMethod · 0.80
FlushCacheMethod · 0.80
WriteTileJobFuncMethod · 0.80
WriteTileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected