| 67 | } |
| 68 | |
| 69 | void ICachePool::stores_clear() |
| 70 | { |
| 71 | if (m_thread_pool) { |
| 72 | auto pool = static_cast<photon::ThreadPoolBase*>(m_thread_pool); |
| 73 | m_thread_pool = nullptr; |
| 74 | photon::delete_thread_pool(pool); |
| 75 | } |
| 76 | cast(m_stores)->clear(); |
| 77 | } |
| 78 | |
| 79 | ICacheStore* ICachePool::open(std::string_view filename, int flags, mode_t mode){ |
| 80 | char store_name[4096]; |
no test coverage detected