MCPcopy Create free account
hub / github.com/apache/arrow / GetCpuThreadPool

Function GetCpuThreadPool

cpp/src/arrow/util/thread_pool.cc:884–888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

882}
883
884ThreadPool* GetCpuThreadPool() {
885 // Avoid using a global variable because of initialization order issues (ARROW-18383)
886 static std::shared_ptr<ThreadPool> singleton = ThreadPool::MakeCpuThreadPool();
887 return singleton.get();
888}
889
890} // namespace internal
891

Callers 15

ScanBatchesAsyncMethod · 0.85
ScanBatchesAsyncMethod · 0.85
CountRowsAsyncMethod · 0.85
OpenReaderFunction · 0.85
ScanBatchesAsyncMethod · 0.85
CountRowsMethod · 0.85
ScanBatchesAsyncMethod · 0.85
ScanBatchesAsyncMethod · 0.85
genMethod · 0.85
GetFragmentsAsyncMethod · 0.85
TESTFunction · 0.85

Calls 1

getMethod · 0.45

Tested by 15

genMethod · 0.68
TESTFunction · 0.68
TEST_PFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
small_chunksize_contextFunction · 0.68
genMethod · 0.68
TESTFunction · 0.68
GenerateTableFunction · 0.68
TESTFunction · 0.68
SetUpMethod · 0.68