From 3e9f5b869dd32441fdd3d77091cb33ef4301f244 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期二, 06 四月 2021 20:26:20 +0800 Subject: [PATCH] use BHCenter. --- utest/utest.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/utest/utest.cpp b/utest/utest.cpp index 8f2a7f5..092455f 100644 --- a/utest/utest.cpp +++ b/utest/utest.cpp @@ -1,3 +1,4 @@ +#include "center.h" #include "defs.h" #include "pubsub.h" #include "pubsub_center.h" @@ -176,8 +177,8 @@ printf("flag = %d\n", *flag); ++*flag; - ReqRepCenter center(shm); - center.Start(2); + BHCenter center(shm); + center.Start(); std::atomic<bool> run(true); auto Client = [&](const std::string &topic, const int nreq) { -- Gitblit v1.8.0