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/socket.cpp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/socket.cpp b/src/socket.cpp
index 9580529..6231579 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -29,6 +29,11 @@
 {
 	Start();
 }
+ShmSocket::ShmSocket(Shm &shm, const bool create_or_else_find, const MQId id, const int len) :
+    run_(false), mq_(id, create_or_else_find, shm, len)
+{
+	Start();
+}
 ShmSocket::ShmSocket(bhome_shm::SharedMemory &shm, const int len) :
     run_(false), mq_(shm, len)
 {

--
Gitblit v1.8.0