MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / ~FileCachePool

Method ~FileCachePool

fs/cache/full_file_cache/cache_pool.cpp:59–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59FileCachePool::~FileCachePool() {
60 exit_ = true;
61 if (timer_) {
62 while (running_) {
63 photon::thread_usleep(1);
64 }
65 delete timer_;
66 }
67 this->stores_clear();
68 delete mediaFs_;
69}
70
71void FileCachePool::Init() {
72 traverseDir("/");

Callers

nothing calls this directly

Calls 2

stores_clearMethod · 0.80
thread_usleepFunction · 0.50

Tested by

no test coverage detected