From a04d4d01eb8e38b8ec5367114b5581bd64eee17e Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 23 四月 2021 15:44:12 +0800 Subject: [PATCH] mutex unlock check timeout to avoid double unlock. --- src/bh_api.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/bh_api.cpp b/src/bh_api.cpp index 8a4b947..f0ba26d 100644 --- a/src/bh_api.cpp +++ b/src/bh_api.cpp @@ -10,6 +10,7 @@ { TopicNode &ProcNode() { + static bool init_bind_msg_shm = MsgI::BindShm(BHomeShm()); static TopicNode node(BHomeShm()); return node; } -- Gitblit v1.8.0