From 509cf5db80c1d8919e19e1e061f2014e1ff3caf7 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期三, 05 八月 2020 19:44:03 +0800 Subject: [PATCH] udpate --- 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