| 39 | static MemoryPool* default_python_pool = nullptr; |
| 40 | |
| 41 | void set_default_memory_pool(MemoryPool* pool) { |
| 42 | std::lock_guard<std::mutex> guard(memory_pool_mutex); |
| 43 | default_python_pool = pool; |
| 44 | } |
| 45 | |
| 46 | MemoryPool* get_memory_pool() { |
| 47 | std::lock_guard<std::mutex> guard(memory_pool_mutex); |
nothing calls this directly
no outgoing calls
no test coverage detected