From 72bffb0807925a156b076b71f78c848a08d27b87 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期四, 29 四月 2021 10:55:35 +0800
Subject: [PATCH] refactor mutex.

---
 src/shm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/shm.h b/src/shm.h
index 17352fe..515d856 100644
--- a/src/shm.h
+++ b/src/shm.h
@@ -90,7 +90,7 @@
 	}
 };
 
-typedef robust::CasMutex<true> Mutex;
+typedef robust::Mutex Mutex;
 typedef robust::Guard<Mutex> Guard;
 
 class SharedMemory : public mshm_t

--
Gitblit v1.8.0