From cf05ea3d9f43e4e84d621e1f9d54cbef552b6e2b Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期二, 18 五月 2021 16:53:28 +0800 Subject: [PATCH] fix center init mutex. --- utest/simple_tests.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utest/simple_tests.cpp b/utest/simple_tests.cpp index e14a1cd..e1f1d2f 100644 --- a/utest/simple_tests.cpp +++ b/utest/simple_tests.cpp @@ -108,7 +108,7 @@ { SharedMemory &shm = TestShm(); GlobalInit(shm); - ShmMsgQueue q(shm, 64); + ShmMsgQueue q(shm, ShmMsgQueue::NewId(), 64); for (int i = 0; i < 2; ++i) { int ms = i * 100; printf("Timeout Test %4d: ", ms); -- Gitblit v1.8.0