From 95bd9a67f9f6c90f627784e3f8fbf5c203784e51 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期五, 30 四月 2021 15:36:17 +0800
Subject: [PATCH] change shm socket msg queue to atomic queue.

---
 src/topic_node.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/topic_node.h b/src/topic_node.h
index 76bd608..3c90e5b 100644
--- a/src/topic_node.h
+++ b/src/topic_node.h
@@ -74,6 +74,7 @@
 	void Stop();
 
 private:
+	MQId ssn() { return SockNode().id(); }
 	bool ClientQueryRPCTopic(const Topic &topic, BHAddress &addr, const int timeout_ms);
 	typedef MsgQueryTopicReply::BHNodeAddress NodeAddress;
 	int QueryRPCTopics(const Topic &topic, std::vector<NodeAddress> &addr, const int timeout_ms);

--
Gitblit v1.8.0