From 4e5cb7960ce4e7e66d5190be67426aeca8b55c3d Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 09 四月 2021 18:45:08 +0800 Subject: [PATCH] add heartbeat, not tested yet. --- src/socket.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/socket.h b/src/socket.h index f73bee5..ee25d81 100644 --- a/src/socket.h +++ b/src/socket.h @@ -56,6 +56,7 @@ ShmSocket(Shm &shm, const MQId &id, const int len); ShmSocket(Shm &shm, const int len = 12); ~ShmSocket(); + static bool Remove(SharedMemory &shm, const MQId &id) { return Queue::Remove(shm, id); } const MQId &id() const { return mq().Id(); } Shm &shm() { return shm_; } // start recv. -- Gitblit v1.8.0