MCPcopy Create free account
hub / github.com/ceph/ceph / ThreadPoolSingleton

Method ThreadPoolSingleton

src/tools/cephfs_mirror/Mirror.cc:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 ContextWQ *work_queue = nullptr;
56
57 explicit ThreadPoolSingleton(CephContext *cct)
58 : ThreadPool(cct, "Mirror::thread_pool", "tp_mirror", 1) {
59 work_queue = new ContextWQ("Mirror::work_queue", ceph::make_timespan(60), this);
60
61 start();
62 }
63};
64
65} // anonymous namespace

Callers

nothing calls this directly

Calls 2

make_timespanFunction · 0.85
startFunction · 0.50

Tested by

no test coverage detected