MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / GuaranteeTargetMemory

Method GuaranteeTargetMemory

src/render/app/app_shared_info.cpp:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected