X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-qsbr.h;h=75ea14cc0edb8ffa0060c21b1502611704342aad;hp=984d70cab45835f7c5da1dad113c7d6b8383e4a4;hb=98bc124a1949657d6af385f8b257af3a58957e51;hpb=5e77fc1f94c3572fca067d37667d74f8165e2434 diff --git a/urcu-qsbr.h b/urcu-qsbr.h index 984d70c..75ea14c 100644 --- a/urcu-qsbr.h +++ b/urcu-qsbr.h @@ -67,12 +67,12 @@ extern "C" { * DON'T FORGET TO USE rcu_register_thread/rcu_unregister_thread() * FOR EACH THREAD WITH READ-SIDE CRITICAL SECTION. */ -#define rcu_read_lock_qsbr() _rcu_read_lock() -#define rcu_read_unlock_qsbr() _rcu_read_unlock() +#define rcu_read_lock_qsbr _rcu_read_lock +#define rcu_read_unlock_qsbr _rcu_read_unlock -#define rcu_quiescent_state_qsbr() _rcu_quiescent_state() -#define rcu_thread_offline_qsbr() _rcu_thread_offline() -#define rcu_thread_online_qsbr() _rcu_thread_online() +#define rcu_quiescent_state_qsbr _rcu_quiescent_state +#define rcu_thread_offline_qsbr _rcu_thread_offline +#define rcu_thread_online_qsbr _rcu_thread_online #else /* !_LGPL_SOURCE */ @@ -95,7 +95,7 @@ static inline void rcu_read_lock(void) { } -static inline void rcu_read_lock(void) +static inline void rcu_read_unlock(void) { } @@ -125,5 +125,6 @@ extern void rcu_unregister_thread(void); #endif #include "urcu-call-rcu.h" +#include "urcu-defer.h" #endif /* _URCU_QSBR_H */