From 65a230ec6ccb61c3ce6816730da2106f07f40b4a Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 23 四月 2021 18:42:41 +0800 Subject: [PATCH] add api, Unregister, QueryTopicAddress. --- utest/api_test.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utest/api_test.cpp b/utest/api_test.cpp index 79236ba..5d65bd5 100644 --- a/utest/api_test.cpp +++ b/utest/api_test.cpp @@ -219,7 +219,7 @@ TLMutex mutex; // CasMutex mutex; auto Lock = [&]() { - for (int i = 0; i < 1000 * 1000 * 10; ++i) { + for (int i = 0; i < 10; ++i) { mutex.lock(); mutex.unlock(); } -- Gitblit v1.8.0