| 30 | } |
| 31 | |
| 32 | void AppSharedInfo::GuaranteeTargetMemory(const std::string& shm_name) { |
| 33 | // if (target_memories_.find(shm_name) != target_memories_.end()) { |
| 34 | // return; |
| 35 | // } |
| 36 | // |
| 37 | // auto shm = std::make_shared<Poco::SharedMemory>(shm_name, kAppSharedInfoBuffSize, Poco::SharedMemory::AccessMode::AM_WRITE); |
| 38 | // target_memories_[shm_name] = shm; |
| 39 | } |
| 40 | |
| 41 | void AppSharedInfo::Exit() { |
| 42 | // target_memories_.clear(); |
nothing calls this directly
no outgoing calls
no test coverage detected