From 3c7339498c5a47e912f6e6009c197291acd7e1fd Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期四, 03 六月 2021 11:27:39 +0800 Subject: [PATCH] change mq shm name prefix. --- src/defs.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/defs.cpp b/src/defs.cpp index 22b43e4..8ebcc7d 100644 --- a/src/defs.cpp +++ b/src/defs.cpp @@ -277,7 +277,7 @@ std::string BHomeShmName() { auto bhome_meta = Ptr<BHomeMetaInfo>(kShmMetaInfoFixedAddress + Addr(BHomeMetaShm().get_address())); - return "bhome_shmq_id_" + std::to_string(bhome_meta->shm_id_.load()); + return "bhshmq_sid_" + std::to_string(bhome_meta->shm_id_.load()); } SharedMemory &BHomeShm() -- Gitblit v1.8.0