X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-static.h;h=0f3eba113d0efe8471b34d6d094496311c69ac12;hp=66a06df85e0f72080bdb79a991e0f5d3e8691125;hb=7ac06cef7a7d9394332837edc5c0e9595286a5fc;hpb=fb6e510b9ae45b9b984b4646b4be6b9d7a2bbf7c diff --git a/urcu-static.h b/urcu-static.h index 66a06df..0f3eba1 100644 --- a/urcu-static.h +++ b/urcu-static.h @@ -117,6 +117,12 @@ */ #define KICK_READER_LOOPS 10000 +#ifdef DEBUG_RCU +#define rcu_assert(args...) assert(args) +#else +#define rcu_assert(args...) +#endif + #ifdef DEBUG_YIELD #include #include