X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=urcu-qsbr.h;h=efa0ec0638fe5bafe13660448bce7322788d7b84;hb=f6d1a94fb64e9beeaf4558f12c157784831d9084;hp=7ef1bfef57bba5b77e547887369008a297ef50e4;hpb=ef84facf4b0c23bd695ca9300055e3ffc9b56006;p=userspace-rcu.git diff --git a/urcu-qsbr.h b/urcu-qsbr.h index 7ef1bfe..efa0ec0 100644 --- a/urcu-qsbr.h +++ b/urcu-qsbr.h @@ -32,7 +32,8 @@ #include /* - * See urcu-pointer.h and urcu-pointer-static.h for pointer publication headers. + * See urcu-pointer.h and urcu/static/urcu-pointer.h for pointer + * publication headers. */ #include @@ -40,7 +41,7 @@ extern "C" { #endif -#include "urcu-qsbr-map.h" +#include /* * Important ! @@ -52,7 +53,7 @@ extern "C" { #ifdef _LGPL_SOURCE -#include +#include /* * Mappings for static use of the userspace RCU library. @@ -89,13 +90,13 @@ extern "C" { * library debugging & tracing features we could come up with. */ -#if (!defined(BUILD_QSBR_LIB) && defined(RCU_DEBUG)) +#if (!defined(BUILD_QSBR_LIB) && !defined(RCU_DEBUG)) static inline void rcu_read_lock(void) { } -static inline void rcu_read_lock(void) +static inline void rcu_read_unlock(void) { } @@ -124,6 +125,8 @@ extern void rcu_unregister_thread(void); } #endif -#include "urcu-call-rcu.h" +#include +#include +#include #endif /* _URCU_QSBR_H */