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