MCPcopy Create free account
hub / github.com/Tencent/phxqueue / ~HeartBeatLock

Method ~HeartBeatLock

phxqueue/consumer/hblock.cpp:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75
76HeartBeatLock::~HeartBeatLock() {
77 if (impl_->buf)
78 {
79 shmdt((void *)impl_->buf);
80 }
81}
82
83comm::RetCode HeartBeatLock::Init(Consumer *consumer, const int shmkey, const string &lockpath, const int nproc) {
84 comm::RetCode ret;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected