From 65ef4d68321e56906920be75831b5e968f7abd7b Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期二, 13 四月 2021 09:34:05 +0800 Subject: [PATCH] add heartbeat; refactor. --- src/shm_queue.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/shm_queue.h b/src/shm_queue.h index 88c13ec..20ff3dc 100644 --- a/src/shm_queue.h +++ b/src/shm_queue.h @@ -129,6 +129,7 @@ ShmMsgQueue(const MQId &id, ShmType &segment, const int len); ShmMsgQueue(ShmType &segment, const int len); ~ShmMsgQueue(); + static bool Remove(SharedMemory &shm, const MQId &id); const MQId &Id() const { return id_; } // bool Recv(MsgI &msg, BHMsgHead &head, const int timeout_ms); -- Gitblit v1.8.0