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

Function GetCpuThreadPool

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

Source from the content-addressed store, hash-verified

824}
825
826ThreadPool* GetCpuThreadPool() {
827 // Avoid using a global variable because of initialization order issues (ARROW-18383)
828 static std::shared_ptr<ThreadPool> singleton = ThreadPool::MakeCpuThreadPool();
829 return singleton.get();
830}
831
832} // namespace internal
833

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
TEST_FFunction · 0.68