From 28f06bc49a4d8d69f1ea2f767863b7921d12f155 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期六, 08 五月 2021 18:30:48 +0800 Subject: [PATCH] add robust FMutex, works fine; use boost circular. --- src/defs.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/defs.h b/src/defs.h index 43375bf..a95c81f 100644 --- a/src/defs.h +++ b/src/defs.h @@ -23,9 +23,11 @@ typedef uint64_t MQId; +const MQId kBHNodeInit = 10; const MQId kBHTopicCenter = 100; const MQId kBHTopicBus = 101; const MQId kBHUniCenter = 102; +inline const MQId BHInitAddress() { return kBHNodeInit; } inline const MQId BHTopicCenterAddress() { return kBHTopicCenter; } inline const MQId BHTopicBusAddress() { return kBHTopicBus; } inline const MQId BHUniCenterAddress() { return kBHUniCenter; } -- Gitblit v1.8.0