From 1b167ec5ad101ac44451381e26cc73ab5d67d2a1 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期一, 26 四月 2021 16:37:52 +0800
Subject: [PATCH] fix socket busy loop; del locked readall; refactor.

---
 src/socket.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/socket.h b/src/socket.h
index cd6bfee..a5dd72c 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -22,7 +22,7 @@
 #include "bh_util.h"
 #include "defs.h"
 #include "sendq.h"
-#include "shm_queue.h"
+#include "shm_msg_queue.h"
 #include <atomic>
 #include <boost/noncopyable.hpp>
 #include <condition_variable>
@@ -37,7 +37,7 @@
 {
 
 protected:
-	typedef bhome_shm::ShmMsgQueue Queue;
+	typedef ShmMsgQueue Queue;
 
 public:
 	typedef ShmMsgQueue::MQId MQId;

--
Gitblit v1.8.0