From 8b4ddf10e71e1c8fabd33c72b282f7da65ff682f Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期二, 14 七月 2020 15:59:44 +0800
Subject: [PATCH] commit

---
 include/usgcommon/usg_typedef.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/include/usgcommon/usg_typedef.h b/include/usgcommon/usg_typedef.h
index 55796e1..a4c11b2 100644
--- a/include/usgcommon/usg_typedef.h
+++ b/include/usgcommon/usg_typedef.h
@@ -5,10 +5,6 @@
 extern "C" {
 #endif
 
-/// @brief Compare And Swap
-///        If the current value of *a_ptr is a_oldVal, then write a_newVal into *a_ptr
-/// @return true if the comparison is successful and a_newVal was written
-#define CAS(a_ptr, a_oldVal, a_newVal) __sync_bool_compare_and_swap(a_ptr, a_oldVal, a_newVal)
 
 #if ! defined(__FreeBSD__) && ! defined(__OpenBSD__) && \
                 ! defined(__sgi) && ! defined(__APPLE__)

--
Gitblit v1.8.0