From 77a6c3512a44dfe6540dde71946e6484fe4f173f Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期一, 10 五月 2021 16:05:28 +0800 Subject: [PATCH] test lock code. --- 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