MCPcopy Create free account
hub / github.com/Tencent/phxqueue / SyncCtrl

Method SyncCtrl

phxqueue/store/syncctrl.cpp:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69
70
71SyncCtrl::SyncCtrl(Store *const store) : impl_(new SyncCtrlImpl()) {
72 assert(impl_);
73 assert(store);
74
75 impl_->store = store;
76}
77
78SyncCtrl::~SyncCtrl() {
79 if (impl_->buf) munmap(impl_->buf, impl_->buf_size);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected