From a6f67b4249525089fb97eb9418c7014f66c2a000 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期三, 28 四月 2021 19:29:17 +0800
Subject: [PATCH] use new robust mutex, circurar; rm timeout mutex.

---
 utest/simple_tests.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/utest/simple_tests.cpp b/utest/simple_tests.cpp
index 33c78f5..e14a1cd 100644
--- a/utest/simple_tests.cpp
+++ b/utest/simple_tests.cpp
@@ -107,7 +107,7 @@
 BOOST_AUTO_TEST_CASE(TimedWaitTest)
 {
 	SharedMemory &shm = TestShm();
-	MsgI::BindShm(shm);
+	GlobalInit(shm);
 	ShmMsgQueue q(shm, 64);
 	for (int i = 0; i < 2; ++i) {
 		int ms = i * 100;
@@ -123,7 +123,7 @@
 {
 	SharedMemory &shm = TestShm();
 	typedef MsgI Msg;
-	Msg::BindShm(shm);
+	GlobalInit(shm);
 
 	Msg m0(1000);
 	BOOST_CHECK(m0.valid());

--
Gitblit v1.8.0