src/defs.cpp
@@ -17,7 +17,7 @@ */ #include "defs.h" #include "msg.h" #include "shm_queue.h" #include "shm_msg_queue.h" namespace { @@ -35,9 +35,13 @@ } // namespace std::string BHomeShmName() { return "bhome_default_shm_v0"; } bhome_shm::SharedMemory &BHomeShm() { static bhome_shm::SharedMemory shm("bhome_default_shm_v0", 1024 * 1024 * 512); static bhome_shm::SharedMemory shm(BHomeShmName(), 1024 * 1024 * 512); return shm; }