From 9eb924f64a56918536d310dd89698aa7e148c727 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期四, 06 五月 2021 09:41:26 +0800 Subject: [PATCH] refactor atomic queue. --- utest/api_test.cpp | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/utest/api_test.cpp b/utest/api_test.cpp index c6165e8..38483eb 100644 --- a/utest/api_test.cpp +++ b/utest/api_test.cpp @@ -118,6 +118,8 @@ printf("maxsec: %ld\n", CountSeconds(max_time)); + // BHCleanup(); + // return; bool reg = false; for (int i = 0; i < 3 && !reg; ++i) { ProcInfo proc; @@ -149,7 +151,7 @@ bool r = BHRegisterTopics(s.data(), s.size(), &reply, &reply_len, 1000); BHFree(reply, reply_len); // printf("register topic : %s\n", r ? "ok" : "failed"); - Sleep(1s); + // Sleep(1s); } { // Subscribe -- Gitblit v1.8.0