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

Function get_memory_pool

python/pyarrow/src/arrow/python/common.cc:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46MemoryPool* get_memory_pool() {
47 std::lock_guard<std::mutex> guard(memory_pool_mutex);
48 if (default_python_pool) {
49 return default_python_pool;
50 } else {
51 return default_memory_pool();
52 }
53}
54
55// ----------------------------------------------------------------------
56// PythonErrorDetail

Callers

nothing calls this directly

Calls 1

default_memory_poolFunction · 0.85

Tested by

no test coverage detected