From 36e6a35a886252516f168b90f7a9a7c1c5177312 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期六, 08 五月 2021 15:57:01 +0800 Subject: [PATCH] center alloc node queue; node just find them. --- src/shm_msg_queue.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/shm_msg_queue.h b/src/shm_msg_queue.h index aff931c..f496f0f 100644 --- a/src/shm_msg_queue.h +++ b/src/shm_msg_queue.h @@ -38,6 +38,7 @@ static MQId NewId(); ShmMsgQueue(const MQId id, ShmType &segment, const int len); + ShmMsgQueue(const MQId id, const bool create_or_else_find, ShmType &segment, const int len); ShmMsgQueue(ShmType &segment, const int len); ~ShmMsgQueue(); static bool Remove(SharedMemory &shm, const MQId id); -- Gitblit v1.8.0